Class UpdateEEDetailsCommand
java.lang.Object
ubic.gemma.core.job.TaskCommand
ubic.gemma.core.tasks.analysis.expression.UpdateEEDetailsCommand
- All Implemented Interfaces:
Serializable
- Author:
- paul
- See Also:
-
Field Summary
Fields inherited from class ubic.gemma.core.job.TaskCommand
MAX_QUEUING_MILLIS, MAX_RUNTIME_MILLIS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Class<? extends Task<? extends TaskCommand>> Obtain the class of theTaskobject that will be run for this command.booleanvoidsetDescription(String description) voidsetEntityId(Long entityId) voidvoidsetPubMedId(String pubMedId) voidsetRemovePrimaryPublication(boolean removePrimaryPublication) voidsetShortName(String shortName) Methods inherited from class ubic.gemma.core.job.TaskCommand
getMaxQueueMillis, getMaxRuntimeMillis, getPersistJobDetails, getSecurityContext, getSubmitter, isEmailAlert, setEmailAlert, setMaxQueueMillis, setMaxRuntimeMillis, setPersistJobDetails
-
Constructor Details
-
UpdateEEDetailsCommand
public UpdateEEDetailsCommand()
-
-
Method Details
-
getEntityId
-
setEntityId
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- the description to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getShortName
- Returns:
- the shortName
-
setShortName
- Parameters:
shortName- the shortName to set
-
getPubMedId
-
setPubMedId
-
isRemovePrimaryPublication
public boolean isRemovePrimaryPublication() -
setRemovePrimaryPublication
public void setRemovePrimaryPublication(boolean removePrimaryPublication) -
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
-