Package ubic.gemma.apps
Class ExpressionExperimentPrimaryPubCli
java.lang.Object
ubic.gemma.cli.util.AbstractCLI
ubic.gemma.cli.util.AbstractAuthenticatedCLI
ubic.gemma.cli.util.AbstractAutoSeekingCLI<ubic.gemma.model.expression.experiment.ExpressionExperiment>
ubic.gemma.apps.ExpressionExperimentManipulatingCLI
ubic.gemma.apps.ExpressionExperimentPrimaryPubCli
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.EnvironmentAware,CLI
Update the primary publication for experiments.
- Author:
- paul
-
Nested Class Summary
Nested classes/interfaces inherited from class ubic.gemma.apps.ExpressionExperimentManipulatingCLI
ExpressionExperimentManipulatingCLI.ExpressionDataFileResultNested 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_OPTIONFields inherited from class ubic.gemma.cli.util.AbstractAutoSeekingCLI
FORCE_OPTIONFields inherited from class ubic.gemma.cli.util.AbstractCLI
ABORTED, FAILURE, FAILURE_FROM_ERROR_OBJECTS, log, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidbuildExperimentOptions(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 voidprocessExperimentOptions(org.apache.commons.cli.CommandLine commandLine) protected voidprocessExpressionExperiment(ubic.gemma.model.expression.experiment.ExpressionExperiment experiment) Process anExpressionExperiment.protected voidprocessExpressionExperiments(Collection<ubic.gemma.model.expression.experiment.ExpressionExperiment> expressionExperiments) Process multipleExpressionExperiment.Methods inherited from class ubic.gemma.apps.ExpressionExperimentManipulatingCLI
addExpressionDataFileOptions, addExpressionDataFileOptions, addSingleExperimentAutoOption, addSingleExperimentEnumOption, addSingleExperimentOption, addSingleExperimentOption, buildOptions, doAuthenticatedWork, formatExperiment, getCommandGroup, getExpressionDataFileResult, getExpressionDataFileResult, isAbortOnError, noNeedToRun, postprocessExpressionExperiments, preprocessExpressionExperiments, processAllExpressionExperiments, processOptions, readChangelogEntryFromConsole, refreshExpressionExperimentFromGemmaWeb, setAbortOnError, setAllIsLazy, setDefaultToAll, setSingleExperimentMode, setUseReferencesIfPossible, toBatchObjectMethods inherited from class ubic.gemma.cli.util.AbstractAutoSeekingCLI
addAutoOption, addAutoOption, addErrorObject, addErrorObject, addErrorObject, addForceOption, addForceOption, addLimitingDateOption, addSuccessObject, addSuccessObject, addWarningObject, addWarningObject, getAutoSeekEventType, getLimitingDate, isAutoSeek, isForce, setForceMethods inherited from class ubic.gemma.cli.util.AbstractAuthenticatedCLI
doWork, setAuthenticateAnonymously, setEnvironment, setRequireLoginMethods 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
-
ExpressionExperimentPrimaryPubCli
public ExpressionExperimentPrimaryPubCli()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classAbstractAuthenticatedCLI- Throws:
Exception
-
getCommandName
Description copied from interface:CLIA short memorable name for the command that can be used to locate this class.- Specified by:
getCommandNamein interfaceCLI- Overrides:
getCommandNamein classAbstractCLI- Returns:
- name; if null or blank, this will not be available as a shortcut command.
-
getShortDesc
Description copied from interface:CLIObtain a short description for this command explaining what it does.- Specified by:
getShortDescin interfaceCLI- Overrides:
getShortDescin classAbstractCLI
-
buildExperimentOptions
protected void buildExperimentOptions(org.apache.commons.cli.Options options) - Overrides:
buildExperimentOptionsin classExpressionExperimentManipulatingCLI
-
processExperimentOptions
protected void processExperimentOptions(org.apache.commons.cli.CommandLine commandLine) throws org.apache.commons.cli.ParseException - Overrides:
processExperimentOptionsin classExpressionExperimentManipulatingCLI- Throws:
org.apache.commons.cli.ParseException
-
processExpressionExperiments
protected void processExpressionExperiments(Collection<ubic.gemma.model.expression.experiment.ExpressionExperiment> expressionExperiments) Description copied from class:ExpressionExperimentManipulatingCLIProcess multipleExpressionExperiment.This only called if more than one experiment was found.
- Overrides:
processExpressionExperimentsin classExpressionExperimentManipulatingCLI
-
processExpressionExperiment
protected void processExpressionExperiment(ubic.gemma.model.expression.experiment.ExpressionExperiment experiment) Description copied from class:ExpressionExperimentManipulatingCLIProcess anExpressionExperiment.- Overrides:
processExpressionExperimentin classExpressionExperimentManipulatingCLI
-