public class PubMedSearcher extends AbstractCLIContextCLI
auditEventService, auditTrailServiceAUTO_OPTION_NAME, autoSeek, autoSeekEventType, FAILURE, FAILURE_FROM_ERROR_OBJECTS, FOOTER, HEADER, host, log, mDate, numThreads, port, SUCCESS, THREADS_OPTION| 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.
|
locateArrayDesign, readListFileToStrings, setTaxonByNameexecuteBatchTasks, getBean, getBean, getPersisterHelper, noNeedToRun, processStandardOptions, requireLoginaddAutoOption, 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 void processOptions(org.apache.commons.cli.CommandLine commandLine)
AbstractCLIAbstractCLI.buildOptions(Options) and right before
AbstractCLI.doWork().processOptions in class AbstractCLIprotected 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.