Class ObsoleteTermCorrectionTaskCommand
java.lang.Object
ubic.gemma.core.job.TaskCommand
ubic.gemma.core.tasks.maintenance.ObsoleteTermCorrectionTaskCommand
- All Implemented Interfaces:
Serializable
Rewrite annotations using obsolete ontology terms to the successors their ontologies assert.
- Author:
- phase 3 ontology maintenance
- See Also:
-
Field Summary
Fields inherited from class TaskCommand
MAX_QUEUING_MILLIS, MAX_RUNTIME_MILLIS -
Constructor Summary
ConstructorsConstructorDescriptionObsoleteTermCorrectionTaskCommand(Collection<String> uris, boolean dryRun, int timeoutSeconds) -
Method Summary
Methods inherited from class TaskCommand
getMaxQueueMillis, getMaxRuntimeMillis, getPersistJobDetails, getSecurityContext, getSubmitter, isEmailAlert, setEmailAlert, setMaxQueueMillis, setMaxRuntimeMillis, setPersistJobDetails
-
Constructor Details
-
ObsoleteTermCorrectionTaskCommand
public ObsoleteTermCorrectionTaskCommand(Collection<String> uris, boolean dryRun, int timeoutSeconds)
-
-
Method Details
-
getTaskClass
Description copied from class:TaskCommandObtain the class of theTaskobject 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:
getTaskClassin classTaskCommand
-
getUris
-
isDryRun
public boolean isDryRun() -
getTimeoutSeconds
public int getTimeoutSeconds()
-