Class AbstractStep
- java.lang.Object
-
- org.kinotic.continuum.grind.internal.api.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 intsequence
-
Constructor Summary
Constructors Constructor Description AbstractStep(int sequence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetSequence()This is the sequence for this step in theJobDefinitionthe firstTaskwould create aStepwith a sequence of one and so onprotected voidnotifyDiagnostic(DiagnosticLevel diagnosticLevel, java.util.function.Supplier<java.lang.String> messageSupplier, reactor.core.publisher.FluxSink<Result<?>> sink, ResultOptions options, org.slf4j.Logger log)protected voidnotifyException(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 voidnotifyProgress(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
-
Methods inherited from interface org.kinotic.continuum.grind.api.Step
assemble, getDescription
-
-
-
-
Method Detail
-
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(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)
-
-