Class SimpleExpressionExperimentLoadTaskCommand

java.lang.Object
ubic.gemma.core.job.TaskCommand
ubic.gemma.web.controller.expression.experiment.SimpleExpressionExperimentLoadTaskCommand
All Implemented Interfaces:
Serializable

public class SimpleExpressionExperimentLoadTaskCommand extends TaskCommand
Extends a SimpleExpressionExperimentMetaData with information about the file and provide simplified taxon/platform information.
Author:
pavlidis
See Also:
  • Constructor Details

    • SimpleExpressionExperimentLoadTaskCommand

      public SimpleExpressionExperimentLoadTaskCommand()
  • 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