Class AbstractStep
java.lang.Object
org.kinotic.continuum.grind.internal.api.AbstractStep
- All Implemented Interfaces:
Step
- Direct Known Subclasses:
JobDefinitionStep,TaskStep
Created by Navid Mitchell on 11/11/20
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThis is the sequence for this step in theJobDefinitionthe firstTaskwould create aStepwith a sequence of one and so onprotected voidnotifyDiagnostic(DiagnosticLevel diagnosticLevel, Supplier<String> messageSupplier, reactor.core.publisher.FluxSink<Result<?>> sink, ResultOptions options, org.slf4j.Logger log) protected voidnotifyException(Supplier<String> messageSupplier, Throwable throwable, reactor.core.publisher.FluxSink<Result<?>> sink, ResultOptions options, org.slf4j.Logger log) protected voidnotifyProgress(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, waitMethods inherited from interface org.kinotic.continuum.grind.api.Step
assemble, getDescription
-
Field Details
-
sequence
protected final int sequence
-
-
Constructor Details
-
AbstractStep
public AbstractStep(int sequence)
-
-
Method Details
-
getSequence
public int getSequence()Description copied from interface:StepThis is the sequence for this step in theJobDefinitionthe firstTaskwould create aStepwith a sequence of one and so on- Specified by:
getSequencein interfaceStep- Returns:
- the sequence for this step
-
notifyProgress
protected void notifyProgress(Supplier<Progress> progressSupplier, reactor.core.publisher.FluxSink<Result<?>> sink, ResultOptions options, org.slf4j.Logger log) -
notifyDiagnostic
protected void notifyDiagnostic(DiagnosticLevel diagnosticLevel, Supplier<String> messageSupplier, reactor.core.publisher.FluxSink<Result<?>> sink, ResultOptions options, org.slf4j.Logger log) -
notifyException
protected void notifyException(Supplier<String> messageSupplier, Throwable throwable, reactor.core.publisher.FluxSink<Result<?>> sink, ResultOptions options, org.slf4j.Logger log)
-