Class PreprocessTaskCommand
- java.lang.Object
-
- ubic.gemma.core.job.TaskCommand
-
- ubic.gemma.core.tasks.analysis.expression.PreprocessTaskCommand
-
- All Implemented Interfaces:
Serializable
public class PreprocessTaskCommand extends TaskCommand
Command object for processing data vectors. Has dual purpose for updating the correlation matrices.- Author:
- keshav
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class ubic.gemma.core.job.TaskCommand
MAX_QUEUING_MILLIS, MAX_RUNTIME_MILLIS
-
-
Constructor Summary
Constructors Constructor Description PreprocessTaskCommand(ExpressionExperiment ee)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
diagnosticsOnly()
ExpressionExperiment
getExpressionExperiment()
Class<? extends Task<? extends TaskCommand>>
getTaskClass()
Obtain the class of theTask
object that will be run for this command.void
setDiagnosticsOnly(boolean diagnosticsOnly)
If true, we'll try to just update the diagnostics (M-V, PCA and sample correlation)void
setExpressionExperiment(ExpressionExperiment expressionExperiment)
-
-
-
Constructor Detail
-
PreprocessTaskCommand
public PreprocessTaskCommand(ExpressionExperiment ee)
-
-
Method Detail
-
getExpressionExperiment
public ExpressionExperiment getExpressionExperiment()
-
setExpressionExperiment
public void setExpressionExperiment(ExpressionExperiment expressionExperiment)
-
getTaskClass
public Class<? extends Task<? extends TaskCommand>> 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
-
diagnosticsOnly
public boolean diagnosticsOnly()
-
setDiagnosticsOnly
public void setDiagnosticsOnly(boolean diagnosticsOnly)
If true, we'll try to just update the diagnostics (M-V, PCA and sample correlation)- Parameters:
diagnosticsOnly
- whether to only update the diagnostics
-
-