Class DifferentialExpressionAnalysisTaskCommand
java.lang.Object
ubic.gemma.core.job.TaskCommand
ubic.gemma.core.tasks.analysis.diffex.DifferentialExpressionAnalysisTaskCommand
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DifferentialExpressionAnalysisRemoveTaskCommand
A command object to be used by spaces.
- Author:
- keshav
- See Also:
-
Field Summary
Fields inherited from class ubic.gemma.core.job.TaskCommand
MAX_QUEUING_MILLIS, MAX_RUNTIME_MILLIS
-
Constructor Summary
ConstructorsConstructorDescriptionDifferentialExpressionAnalysisTaskCommand
(boolean forceAnalysis, ExpressionExperiment expressionExperiment) DifferentialExpressionAnalysisTaskCommand
(ExpressionExperiment ee, DifferentialExpressionAnalysis toRedo) -
Method Summary
Modifier and TypeMethodDescriptionClass
<? extends Task<? extends TaskCommand>> Obtain the class of theTask
object that will be run for this command.boolean
boolean
boolean
boolean
void
setAnalysisType
(AnalysisType analysisType) void
setExpressionExperiment
(ExpressionExperiment expressionExperiment) void
setFactors
(Collection<ExperimentalFactor> factors) void
setForceAnalysis
(boolean forceAnalysis) void
setIncludeInteractions
(boolean includeInteractions) void
setModerateStatistics
(boolean moderateStatistics) void
setSubsetFactor
(ExperimentalFactor subsetFactor) void
void
setUseWeights
(boolean useWeights)
-
Constructor Details
-
DifferentialExpressionAnalysisTaskCommand
-
DifferentialExpressionAnalysisTaskCommand
public DifferentialExpressionAnalysisTaskCommand(ExpressionExperiment ee, DifferentialExpressionAnalysis toRedo) -
DifferentialExpressionAnalysisTaskCommand
public DifferentialExpressionAnalysisTaskCommand(boolean forceAnalysis, ExpressionExperiment expressionExperiment)
-
-
Method Details
-
getAnalysisType
-
setAnalysisType
-
getExpressionExperiment
-
setExpressionExperiment
-
getFactors
-
setFactors
-
getSubsetFactor
- Returns:
- the subsetFactor
-
setSubsetFactor
- Parameters:
subsetFactor
- the subsetFactor to set
-
getTaskClass
Description copied from class:TaskCommand
Obtain the class of theTask
object that will be run for this command.If null, the task command cannot be submitted through
TaskRunningService.submitTaskCommand(TaskCommand)
and a task object must be explicitly created.For now, this how we map from TaskCommand to Task that actually runs it. We have to have this mapping somewhere until we make Tasks themselves serializable. Tasks are not readily serializable because they have dependencies to Spring services. at which point TaskCommand can be deprecated(or remain as TaskContext).
- Overrides:
getTaskClass
in classTaskCommand
-
getToRedo
-
setToRedo
-
isForceAnalysis
public boolean isForceAnalysis() -
setForceAnalysis
public void setForceAnalysis(boolean forceAnalysis) -
isIncludeInteractions
public boolean isIncludeInteractions() -
setIncludeInteractions
public void setIncludeInteractions(boolean includeInteractions) - Parameters:
includeInteractions
- Sets preference for interactions to be included.
-
isModerateStatistics
public boolean isModerateStatistics() -
setModerateStatistics
public void setModerateStatistics(boolean moderateStatistics) -
isUseWeights
public boolean isUseWeights() -
setUseWeights
public void setUseWeights(boolean useWeights)
-