Class UpdateEEDetailsCommand
- java.lang.Object
-
- ubic.gemma.core.job.TaskCommand
-
- ubic.gemma.core.tasks.analysis.expression.UpdateEEDetailsCommand
-
- All Implemented Interfaces:
Serializable
public class UpdateEEDetailsCommand extends TaskCommand
- Author:
- paul
- 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 UpdateEEDetailsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Long
getEntityId()
String
getName()
String
getPubMedId()
String
getShortName()
Class<? extends Task<? extends TaskCommand>>
getTaskClass()
Obtain the class of theTask
object that will be run for this command.boolean
isRemovePrimaryPublication()
void
setDescription(String description)
void
setEntityId(Long entityId)
void
setName(String name)
void
setPubMedId(String pubMedId)
void
setRemovePrimaryPublication(boolean removePrimaryPublication)
void
setShortName(String shortName)
-
-
-
Method Detail
-
getEntityId
public Long getEntityId()
-
setEntityId
public void setEntityId(Long entityId)
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description
- the description to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name
- the name to set
-
getShortName
public String getShortName()
- Returns:
- the shortName
-
setShortName
public void setShortName(String shortName)
- Parameters:
shortName
- the shortName to set
-
getPubMedId
public String getPubMedId()
-
setPubMedId
public void setPubMedId(String pubMedId)
-
isRemovePrimaryPublication
public boolean isRemovePrimaryPublication()
-
setRemovePrimaryPublication
public void setRemovePrimaryPublication(boolean removePrimaryPublication)
-
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
-
-