public class ArrayDesignAlternativePopulateCli extends AbstractCLIContextCLI
auditEventService, auditTrailServiceAUTO_OPTION_NAME, autoSeek, autoSeekEventType, FAILURE, FAILURE_FROM_ERROR_OBJECTS, FOOTER, HEADER, host, log, mDate, numThreads, port, SUCCESS, THREADS_OPTION| Constructor and Description |
|---|
ArrayDesignAlternativePopulateCli() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildOptions(org.apache.commons.cli.Options options)
Build option implementation.
|
protected void |
doWork()
Command line implementation.
|
GemmaCLI.CommandGroup |
getCommandGroup()
Obtain the command grup.
|
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.
|
protected void |
processOptions(org.apache.commons.cli.CommandLine commandLine)
Process command line options.
|
protected boolean |
requireLogin()
Indicate if the command requires authentication.
|
locateArrayDesign, readListFileToStrings, setTaxonByNameexecuteBatchTasks, getBean, getBean, getPersisterHelper, noNeedToRun, processStandardOptionsaddAutoOption, addDateOption, addErrorObject, addErrorObject, addHostAndPortOptions, addSuccessObject, addThreadsOption, buildStandardOptions, executeCommand, getDoubleOptionValue, getDoubleOptionValue, getFileNameOptionValue, getFileNameOptionValue, getIntegerOptionValue, getIntegerOptionValue, getLimitingDate, printHelp, resetLoggingpublic GemmaCLI.CommandGroup getCommandGroup()
CLIpublic String getCommandName()
CLIprotected void buildOptions(org.apache.commons.cli.Options options)
AbstractCLIAbstractCLI.buildStandardOptions(Options) so the options will be added after standard options.buildOptions in class AbstractCLIprotected boolean requireLogin()
AbstractSpringAwareCLIrequireLogin in class AbstractSpringAwareCLIprotected void processOptions(org.apache.commons.cli.CommandLine commandLine)
throws Exception
AbstractCLIAbstractCLI.buildOptions(Options) and right before
AbstractCLI.doWork().processOptions in class AbstractCLIException - in case of unrecoverable failure (i.e. missing option or invalid value), an exception can be
raised and will result in an exit code of AbstractCLI.FAILURE.protected void doWork()
throws Exception
AbstractCLIAbstractCLI.buildOptions(Options) and AbstractCLI.processOptions(CommandLine), so the implementation can assume that
all its arguments have already been initialized.doWork in class AbstractCLIException - in case of unrecoverable failure, an exception is thrown and will result in a AbstractCLI.FAILURE
exit code, otherwise use AbstractCLI.addErrorObject(java.lang.Object, java.lang.String, java.lang.Throwable)public String getShortDesc()
CLIgetShortDesc in interface CLIgetShortDesc in class AbstractSpringAwareCLICopyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.