Interface Step

    • Method Detail

      • 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

        java.lang.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