Class JobDefinitionStep

    • Constructor Detail

      • JobDefinitionStep

        public JobDefinitionStep​(int sequence,
                                 JobDefinition jobDefinition)
    • Method Detail

      • getDescription

        public java.lang.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 java.util.List<Step> getSteps()
        Specified by:
        getSteps in interface HasSteps
        Returns:
        the Step's defined for this