Class ArrayDesignRepeatScanTaskCommand
- java.lang.Object
-
- ubic.gemma.core.job.TaskCommand
-
- ubic.gemma.web.tasks.analysis.sequence.ArrayDesignRepeatScanTaskCommand
-
- All Implemented Interfaces:
Serializable
public class ArrayDesignRepeatScanTaskCommand extends TaskCommand
A command object to be used by spaces.- 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 ArrayDesignRepeatScanTaskCommand(String taskId, ArrayDesign arrayDesign)
NOTE: we can't pass in a we command as they are defined in the web module, which messes up the configuration.ArrayDesignRepeatScanTaskCommand(ArrayDesign ad)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayDesign
getArrayDesign()
Class<? extends Task<? extends TaskCommand>>
getTaskClass()
Obtain the class of theTask
object that will be run for this command.void
setArrayDesign(ArrayDesign arrayDesign)
-
-
-
Constructor Detail
-
ArrayDesignRepeatScanTaskCommand
public ArrayDesignRepeatScanTaskCommand(String taskId, ArrayDesign arrayDesign)
NOTE: we can't pass in a we command as they are defined in the web module, which messes up the configuration.- Parameters:
taskId
- task idarrayDesign
- ad
-
ArrayDesignRepeatScanTaskCommand
public ArrayDesignRepeatScanTaskCommand(ArrayDesign ad)
-
-
Method Detail
-
getArrayDesign
public ArrayDesign getArrayDesign()
-
setArrayDesign
public void setArrayDesign(ArrayDesign arrayDesign)
-
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
-
-