Interface Step

All Known Implementing Classes:
AbstractStep, JobDefinitionStep, TaskStep

public interface Step
A step in a JobDefinition Created by Navid Mitchell on 3/25/20
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<Result<?>>
    assemble(org.springframework.context.support.GenericApplicationContext applicationContext, ResultOptions options)
    Prepares the Step for execution.
    The description comes from the Task or JobDefinition that this step was created for
    int
    This is the sequence for this step in the JobDefinition the first Task would create a Step with a sequence of one and so on
  • Method Details

    • getSequence

      int getSequence()
      This is the sequence for this step in the JobDefinition the first Task would create a Step with a sequence of one and so on
      Returns:
      the sequence for this step
    • getDescription

      String getDescription()
      The description comes from the Task or JobDefinition that this step was created for
      Returns:
      the description of this Step
    • assemble

      org.reactivestreams.Publisher<Result<?>> assemble(org.springframework.context.support.GenericApplicationContext applicationContext, ResultOptions options)
      Prepares the Step for execution.
      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