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
    • isCompassOn

      public boolean isCompassOn()
    • setCompassOn

      public void setCompassOn(boolean compassOn)
    • isIndexAD

      public boolean isIndexAD()
    • setIndexAD

      public void setIndexAD(boolean indexAD)
    • isIndexBibRef

      public boolean isIndexBibRef()
    • setIndexBibRef

      public void setIndexBibRef(boolean indexBibRef)
    • isIndexBioSequence

      public boolean isIndexBioSequence()
    • setIndexBioSequence

      public void setIndexBioSequence(boolean indexBioSequence)
    • isIndexEE

      public boolean isIndexEE()
    • setIndexEE

      public void setIndexEE(boolean indexEE)
    • isIndexExperimentSet

      public boolean isIndexExperimentSet()
      Returns:
      the indexExperimentSet
    • setIndexExperimentSet

      public void setIndexExperimentSet(boolean indexExperimentSet)
      Parameters:
      indexExperimentSet - the indexExperimentSet to set
    • isIndexGene

      public boolean isIndexGene()
    • setIndexGene

      public void setIndexGene(boolean indexGene)
    • isIndexGeneSet

      public boolean isIndexGeneSet()
      Returns:
      the indexGeneSet
    • setIndexGeneSet

      public void setIndexGeneSet(boolean indexGeneSet)
      Parameters:
      indexGeneSet - the indexGeneSet to set
    • isIndexOntologies

      public boolean isIndexOntologies()
    • setIndexOntologies

      public void setIndexOntologies(boolean indexOntologies)
    • isIndexProbe

      public boolean isIndexProbe()
    • setIndexProbe

      public void setIndexProbe(boolean indexProbe)
    • setAll

      public void setAll(boolean all)
      Indexing of probes and BioSequences sometimes bails because of the size of the index created. Also their data rarely changes so there is not much value in indexing it every week. Indexing of probes and biosequences can still be triggered manually.
      Parameters:
      all - all
    • setIndexOntology

      public void setIndexOntology(boolean indexBioSequence)