Class IndexerTaskCommand

java.lang.Object
ubic.gemma.core.job.TaskCommand
ubic.gemma.core.tasks.maintenance.IndexerTaskCommand
All Implemented Interfaces:
Serializable

public class IndexerTaskCommand extends TaskCommand
Author:
klc
See Also:
  • Constructor Details

    • IndexerTaskCommand

      public IndexerTaskCommand()
  • Method Details

    • getTaskClass

      public Class<? extends Task<?>> getTaskClass()
      Description copied from class: TaskCommand
      Obtain the class of the Task 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 class TaskCommand
    • 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

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object