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 voiddoAuthenticatedWork()StringgetCommandName()A short memorable name for the command that can be used to locate this class.StringgetShortDesc()Obtain a short description for this command explaining what it does.-
Methods inherited from class ubic.gemma.cli.util.AbstractAuthenticatedCLI
afterPropertiesSet, 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, getBatchTaskProgressReporter, getCliContext, getCommandAliases, getCommandGroup, getHelpFooter, getNumThreads, getOptions, getUsage, processOptions, promptConfirmationOrAbort, setAllowPositionalArguments, setApplicationContext, setEstimatedMaxTasks, setReportFrequencyMillis
-
-
-
-
Method Detail
-
getCommandName
@Nullable public String getCommandName()
Description copied from interface:CLIA short memorable name for the command that can be used to locate this class.- Specified by:
getCommandNamein interfaceCLI- Overrides:
getCommandNamein 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:CLIObtain a short description for this command explaining what it does.- Specified by:
getShortDescin interfaceCLI- Overrides:
getShortDescin classAbstractCLI
-
doAuthenticatedWork
protected void doAuthenticatedWork() throws Exception- Specified by:
doAuthenticatedWorkin classAbstractAuthenticatedCLI- Throws:
Exception
-
-