Class JobDefinitionStep

java.lang.Object
org.kinotic.continuum.grind.internal.api.AbstractStep
org.kinotic.continuum.grind.internal.api.JobDefinitionStep
All Implemented Interfaces:
HasSteps, Step

public class JobDefinitionStep extends AbstractStep implements HasSteps
Provides functionality for a Step that will execute a JobDefinition Created by Navid Mitchell on 8/5/20
  • Constructor Details

    • JobDefinitionStep

      public JobDefinitionStep(int sequence, JobDefinition jobDefinition)
  • Method Details

    • getDescription

      public String getDescription()
      Description copied from interface: Step
      The description comes from the Task or JobDefinition that this step was created for
      Specified by:
      getDescription in interface Step
      Returns:
      the description of this Step
    • assemble

      public org.reactivestreams.Publisher<Result<?>> assemble(org.springframework.context.support.GenericApplicationContext applicationContext, ResultOptions options)
      Description copied from interface: Step
      Prepares the Step for execution.
      Specified by:
      assemble in interface Step
      Parameters:
      applicationContext - the execution context that will be used for this Step
      options - the ResultOptions to use when executing the JobDefinition this will determine the ResultType's that you will receive from the emitted Result's
      Returns:
      a Publisher that when subscribed to will create the result for this Step
    • getSteps

      public List<Step> getSteps()
      Specified by:
      getSteps in interface HasSteps
      Returns:
      the Step's defined for this