Class DiffExMetaAnalyzerTaskCommand

java.lang.Object
ubic.gemma.core.job.TaskCommand
ubic.gemma.core.tasks.analysis.diffex.DiffExMetaAnalyzerTaskCommand
All Implemented Interfaces:
Serializable

public class DiffExMetaAnalyzerTaskCommand extends TaskCommand
A command object to be used by spaces.
Author:
frances
See Also:
  • Constructor Details

    • DiffExMetaAnalyzerTaskCommand

      public DiffExMetaAnalyzerTaskCommand(Collection<Long> analysisResultSetIds)
    • DiffExMetaAnalyzerTaskCommand

      public DiffExMetaAnalyzerTaskCommand(Collection<Long> analysisResultSetIds, String name, String description, boolean persist)
  • Method Details

    • isPersist

      public boolean isPersist()
    • setPersist

      public void setPersist(boolean persist)
    • getAnalysisResultSetIds

      public Collection<Long> getAnalysisResultSetIds()
    • getName

      public String getName()
    • getDescription

      public String getDescription()
    • getTaskClass

      public Class<? extends Task<? extends TaskCommand>> 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