Class AbstractStep

  • All Implemented Interfaces:
    Step
    Direct Known Subclasses:
    JobDefinitionStep, TaskStep

    public abstract class AbstractStep
    extends java.lang.Object
    implements Step
    Created by Navid Mitchell on 11/11/20
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int sequence  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractStep​(int sequence)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
      protected void notifyDiagnostic​(DiagnosticLevel diagnosticLevel, java.util.function.Supplier<java.lang.String> messageSupplier, reactor.core.publisher.FluxSink<Result<?>> sink, ResultOptions options, org.slf4j.Logger log)  
      protected void notifyException​(java.util.function.Supplier<java.lang.String> messageSupplier, java.lang.Throwable throwable, reactor.core.publisher.FluxSink<Result<?>> sink, ResultOptions options, org.slf4j.Logger log)  
      protected void notifyProgress​(java.util.function.Supplier<Progress> progressSupplier, reactor.core.publisher.FluxSink<Result<?>> sink, ResultOptions options, org.slf4j.Logger log)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sequence

        protected final int sequence
    • Constructor Detail

      • AbstractStep

        public AbstractStep​(int sequence)
    • Method Detail

      • getSequence

        public int getSequence()
        Description copied from interface: Step
        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
        Specified by:
        getSequence in interface Step
        Returns:
        the sequence for this step
      • notifyProgress

        protected void notifyProgress​(java.util.function.Supplier<Progress> progressSupplier,
                                      reactor.core.publisher.FluxSink<Result<?>> sink,
                                      ResultOptions options,
                                      org.slf4j.Logger log)
      • notifyDiagnostic

        protected void notifyDiagnostic​(DiagnosticLevel diagnosticLevel,
                                        java.util.function.Supplier<java.lang.String> messageSupplier,
                                        reactor.core.publisher.FluxSink<Result<?>> sink,
                                        ResultOptions options,
                                        org.slf4j.Logger log)
      • notifyException

        protected void notifyException​(java.util.function.Supplier<java.lang.String> messageSupplier,
                                       java.lang.Throwable throwable,
                                       reactor.core.publisher.FluxSink<Result<?>> sink,
                                       ResultOptions options,
                                       org.slf4j.Logger log)