Package ubic.gemma.apps
Class ExpressionExperimentMetadataFileAdderCli
java.lang.Object
ubic.gemma.cli.util.AbstractCLI
ubic.gemma.cli.util.AbstractAuthenticatedCLI
ubic.gemma.cli.util.AbstractAutoSeekingCLI<ExpressionExperiment>
ubic.gemma.apps.ExpressionExperimentManipulatingCLI
ubic.gemma.apps.ExpressionExperimentMetadataFileAdderCli
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
,org.springframework.context.EnvironmentAware
,CLI
Add a metadata file to an experiment and record an entry in the changelog file.
- Author:
- poirigui
-
Nested Class Summary
Nested classes/interfaces inherited from class ubic.gemma.apps.ExpressionExperimentManipulatingCLI
ExpressionExperimentManipulatingCLI.ExpressionDataFileResult
Nested classes/interfaces inherited from interface ubic.gemma.cli.util.CLI
CLI.CommandGroup
-
Field Summary
Fields inherited from class ubic.gemma.apps.ExpressionExperimentManipulatingCLI
auditEventService, auditTrailService, eeService, entityLocator, entityUrlBuilder, OUTPUT_DIR_OPTION, OUTPUT_FILE_OPTION, STANDARD_LOCATION_OPTION, STANDARD_OUTPUT_OPTION
Fields inherited from class ubic.gemma.cli.util.AbstractAutoSeekingCLI
FORCE_OPTION
Fields inherited from class ubic.gemma.cli.util.AbstractCLI
ABORTED, FAILURE, FAILURE_FROM_ERROR_OBJECTS, log, SUCCESS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
buildExperimentOptions
(org.apache.commons.cli.Options options) A short memorable name for the command that can be used to locate this class.Obtain a short description for this command explaining what it does.protected void
processExperimentOptions
(org.apache.commons.cli.CommandLine commandLine) protected void
processExpressionExperiment
(ExpressionExperiment expressionExperiment) Process anExpressionExperiment
.Methods inherited from class ubic.gemma.apps.ExpressionExperimentManipulatingCLI
addExpressionDataFileOptions, addExpressionDataFileOptions, addSingleExperimentEnumOption, addSingleExperimentOption, addSingleExperimentOption, buildOptions, doAuthenticatedWork, formatExperiment, getCommandGroup, getExpressionDataFileResult, getExpressionDataFileResult, isAbortOnError, noNeedToRun, preprocessExpressionExperiments, processExpressionExperiments, processOptions, readChangelogEntryFromConsole, refreshExpressionExperimentFromGemmaWeb, setAbortOnError, setDefaultToAll, setSingleExperimentMode, setUseReferencesIfPossible, toBatchObject
Methods inherited from class ubic.gemma.cli.util.AbstractAutoSeekingCLI
addAutoOption, addAutoOption, addErrorObject, addErrorObject, addErrorObject, addForceOption, addForceOption, addLimitingDateOption, addSuccessObject, addSuccessObject, addWarningObject, addWarningObject, getAutoSeekEventType, getLimitingDate, isAutoSeek, isForce, setForce
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, executeCommand, getApplicationContext, getBatchTaskExecutor, getBatchTaskProgressReporter, getCliContext, getCommandAliases, getHelpFooter, getNumThreads, getOptions, getUsage, promptConfirmationOrAbort, setAllowPositionalArguments, setApplicationContext, setEstimatedMaxTasks, setReportFrequencyMillis
-
Constructor Details
-
ExpressionExperimentMetadataFileAdderCli
public ExpressionExperimentMetadataFileAdderCli()
-
-
Method Details
-
getCommandName
Description copied from interface:CLI
A short memorable name for the command that can be used to locate this class.- Specified by:
getCommandName
in interfaceCLI
- Overrides:
getCommandName
in classAbstractCLI
- Returns:
- name; if null or blank, this will not be available as a shortcut command.
-
getShortDesc
Description copied from interface:CLI
Obtain a short description for this command explaining what it does.- Specified by:
getShortDesc
in interfaceCLI
- Overrides:
getShortDesc
in classAbstractCLI
-
buildExperimentOptions
protected void buildExperimentOptions(org.apache.commons.cli.Options options) - Overrides:
buildExperimentOptions
in classExpressionExperimentManipulatingCLI
-
processExperimentOptions
protected void processExperimentOptions(org.apache.commons.cli.CommandLine commandLine) throws org.apache.commons.cli.ParseException - Overrides:
processExperimentOptions
in classExpressionExperimentManipulatingCLI
- Throws:
org.apache.commons.cli.ParseException
-
processExpressionExperiment
Description copied from class:ExpressionExperimentManipulatingCLI
Process anExpressionExperiment
.- Overrides:
processExpressionExperiment
in classExpressionExperimentManipulatingCLI
-