public class ReplaceDataCli extends ExpressionExperimentManipulatingCLI
auditEventService, auditTrailService
AUTO_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, suppressAllOption
locateArrayDesign, readListFileToStrings, setTaxonByName
executeBatchTasks, getBean, getBean, getPersisterHelper, noNeedToRun, processStandardOptions, requireLogin
addAutoOption, addDateOption, addErrorObject, addErrorObject, addErrorObject, addHostAndPortOptions, addSuccessObject, addSuccessObject, addThreadsOption, buildStandardOptions, executeCommand, getDoubleOptionValue, getDoubleOptionValue, getFileNameOptionValue, getFileNameOptionValue, getIntegerOptionValue, getIntegerOptionValue, getLimitingDate, printHelp, resetLogging
public GemmaCLI.CommandGroup getCommandGroup()
CLI
getCommandGroup
in interface CLI
getCommandGroup
in class ExpressionExperimentManipulatingCLI
protected void buildOptions(org.apache.commons.cli.Options options)
AbstractCLI
Implement 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 ExpressionExperimentManipulatingCLI
protected 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 ExpressionExperimentManipulatingCLI
public String getCommandName()
CLI
protected 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 AbstractCLI
Exception
- 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()
CLI
getShortDesc
in interface CLI
getShortDesc
in class AbstractSpringAwareCLI
Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.