Package ubic.gemma.apps
Class ProtocolListCli
- java.lang.Object
-
- ubic.gemma.cli.util.AbstractCLI
-
- ubic.gemma.cli.util.AbstractAuthenticatedCLI
-
- ubic.gemma.apps.ProtocolListCli
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
,org.springframework.context.EnvironmentAware
,CLI
public class ProtocolListCli extends AbstractAuthenticatedCLI
- Author:
- poirigui
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ubic.gemma.cli.util.CLI
CLI.CommandGroup
-
-
Field Summary
-
Fields inherited from class ubic.gemma.cli.util.AbstractCLI
ABORTED, FAILURE, FAILURE_FROM_ERROR_OBJECTS, log, SUCCESS
-
-
Constructor Summary
Constructors Constructor Description ProtocolListCli()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doAuthenticatedWork()
String
getCommandName()
A short memorable name for the command that can be used to locate this class.String
getShortDesc()
Obtain a short description for this command explaining what it does.-
Methods inherited from class ubic.gemma.cli.util.AbstractAuthenticatedCLI
afterPropertiesSet, createBatchTaskExecutorService, doWork, setEnvironment, setRequireLogin
-
Methods inherited from class ubic.gemma.cli.util.AbstractCLI
abort, addBatchOption, addErrorObject, addErrorObject, addErrorObject, addSuccessObject, addSuccessObject, addThreadsOption, addWarningObject, addWarningObject, allowPositionalArguments, awaitBatchExecutorService, buildOptions, executeCommand, getApplicationContext, getBatchTaskExecutor, getCliContext, getCommandAliases, getCommandGroup, getHelpFooter, getNumThreads, getOptions, getUsage, processOptions, promptConfirmationOrAbort, setAllowPositionalArguments, setApplicationContext, setEstimatedMaxTasks, setReportFrequencyMillis
-
-
-
-
Method Detail
-
getCommandName
@Nullable public String getCommandName()
Description copied from interface:CLI
A short memorable name for the command that can be used to locate this class.- Specified by:
getCommandName
in interfaceCLI
- Overrides:
getCommandName
in classAbstractCLI
- Returns:
- name; if null or blank, this will not be available as a shortcut command.
-
getShortDesc
@Nullable public String getShortDesc()
Description copied from interface:CLI
Obtain a short description for this command explaining what it does.- Specified by:
getShortDesc
in interfaceCLI
- Overrides:
getShortDesc
in classAbstractCLI
-
doAuthenticatedWork
protected void doAuthenticatedWork() throws Exception
- Specified by:
doAuthenticatedWork
in classAbstractAuthenticatedCLI
- Throws:
Exception
-
-