public class ReplaceDataCli extends ExpressionExperimentManipulatingCLI
auditEventService, auditTrailServiceAUTO_OPTION_NAME, autoSeek, autoSeekEventType, FAILURE, FAILURE_FROM_ERROR_OBJECTS, FOOTER, HEADER, host, log, mDate, numThreads, port, SUCCESS, THREADS_OPTION| Constructor and Description |
|---|
ReplaceDataCli() |
| 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.
|
findGeneByOfficialSymbol, getEeService, getExpressionExperiments, getGeneService, getTaxon, getTaxonService, setTaxon, suppressAllOptionlocateArrayDesign, readListFileToStrings, setTaxonByNameexecuteBatchTasks, getBean, getBean, getPersisterHelper, noNeedToRun, processStandardOptions, requireLoginaddAutoOption, addDateOption, addErrorObject, addErrorObject, addErrorObject, addHostAndPortOptions, addSuccessObject, addSuccessObject, addThreadsOption, buildStandardOptions, executeCommand, getDoubleOptionValue, getDoubleOptionValue, getFileNameOptionValue, getFileNameOptionValue, getIntegerOptionValue, getIntegerOptionValue, getLimitingDate, printHelp, resetLoggingpublic GemmaCLI.CommandGroup getCommandGroup()
CLIgetCommandGroup in interface CLIgetCommandGroup in class ExpressionExperimentManipulatingCLIprotected void buildOptions(org.apache.commons.cli.Options options)
AbstractCLIImplement this method to add options to your command line, using the OptionBuilder.
This is called right after AbstractCLI.buildStandardOptions(Options) so the options will be added after standard options.
buildOptions in class ExpressionExperimentManipulatingCLIprotected void processOptions(org.apache.commons.cli.CommandLine commandLine)
AbstractCLI
Implement this to provide processing of options. It is called after AbstractCLI.buildOptions(Options) and right before
AbstractCLI.doWork().
processOptions in class ExpressionExperimentManipulatingCLIpublic String getCommandName()
CLIprotected void doWork()
throws Exception
AbstractCLI
This is called after AbstractCLI.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.