Class IndexerTaskCommand
java.lang.Object
ubic.gemma.core.job.TaskCommand
ubic.gemma.core.tasks.maintenance.IndexerTaskCommand
- All Implemented Interfaces:
Serializable
- Author:
- klc
- 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 TypeMethodDescriptionprotected booleanbooleanObtain the class of theTaskobject that will be run for this command.inthashCode()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetIndexBioSequences(boolean indexBioSequences) voidsetIndexDatasetGroups(boolean indexDatasetGroups) voidsetIndexDatasets(boolean indexDatasets) voidsetIndexDesignElements(boolean indexDesignElements) voidsetIndexGeneGroups(boolean indexGeneGroups) voidsetIndexGenes(boolean indexGenes) voidsetIndexPlatforms(boolean indexPlatforms) voidsetIndexPublications(boolean indexPublications) toString()Methods inherited from class ubic.gemma.core.job.TaskCommand
getMaxQueueMillis, getMaxRuntimeMillis, getPersistJobDetails, getSecurityContext, getSubmitter, isEmailAlert, setEmailAlert, setMaxQueueMillis, setMaxRuntimeMillis, setPersistJobDetails
-
Constructor Details
-
IndexerTaskCommand
public IndexerTaskCommand()
-
-
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
-
isIndexPlatforms
public boolean isIndexPlatforms() -
isIndexPublications
public boolean isIndexPublications() -
isIndexBioSequences
public boolean isIndexBioSequences() -
isIndexDatasets
public boolean isIndexDatasets() -
isIndexDatasetGroups
public boolean isIndexDatasetGroups() -
isIndexGenes
public boolean isIndexGenes() -
isIndexGeneGroups
public boolean isIndexGeneGroups() -
isIndexDesignElements
public boolean isIndexDesignElements() -
setIndexPlatforms
public void setIndexPlatforms(boolean indexPlatforms) -
setIndexPublications
public void setIndexPublications(boolean indexPublications) -
setIndexBioSequences
public void setIndexBioSequences(boolean indexBioSequences) -
setIndexDatasets
public void setIndexDatasets(boolean indexDatasets) -
setIndexDatasetGroups
public void setIndexDatasetGroups(boolean indexDatasetGroups) -
setIndexGenes
public void setIndexGenes(boolean indexGenes) -
setIndexGeneGroups
public void setIndexGeneGroups(boolean indexGeneGroups) -
setIndexDesignElements
public void setIndexDesignElements(boolean indexDesignElements) -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-