Class ArrayDesignProbeMapTaskCommand
java.lang.Object
ubic.gemma.core.job.TaskCommand
ubic.gemma.core.tasks.analysis.sequence.ArrayDesignProbeMapTaskCommand
- All Implemented Interfaces:
Serializable
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
ConstructorsConstructorDescriptionArrayDesignProbeMapTaskCommand
(String taskId, boolean forceAnalysis, ArrayDesign arrayDesign) -
Method Summary
Modifier and TypeMethodDescriptionObtain the class of theTask
object that will be run for this command.boolean
void
setArrayDesign
(ArrayDesign arrayDesign) void
setForceAnalysis
(boolean forceAnalysis)
-
Constructor Details
-
ArrayDesignProbeMapTaskCommand
public ArrayDesignProbeMapTaskCommand() -
ArrayDesignProbeMapTaskCommand
public ArrayDesignProbeMapTaskCommand(String taskId, boolean forceAnalysis, ArrayDesign arrayDesign)
-
-
Method Details
-
getArrayDesign
-
setArrayDesign
-
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
-
isForceAnalysis
public boolean isForceAnalysis() -
setForceAnalysis
public void setForceAnalysis(boolean forceAnalysis)
-