Package org.kinotic.continuum.grind.api
Interface Step
-
- All Known Implementing Classes:
AbstractStep,JobDefinitionStep,TaskStep
public interface StepA step in aJobDefinitionCreated by Navid Mitchell on 3/25/20
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<Result<?>>assemble(org.springframework.context.support.GenericApplicationContext applicationContext, ResultOptions options)Prepares theStepfor execution.java.lang.StringgetDescription()The description comes from theTaskorJobDefinitionthat this step was created forintgetSequence()This is the sequence for this step in theJobDefinitionthe firstTaskwould create aStepwith a sequence of one and so on
-
-
-
Method Detail
-
getSequence
int getSequence()
This is the sequence for this step in theJobDefinitionthe firstTaskwould create aStepwith a sequence of one and so on- Returns:
- the sequence for this step
-
getDescription
java.lang.String getDescription()
The description comes from theTaskorJobDefinitionthat 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 theStepfor execution.- Parameters:
applicationContext- the execution context that will be used for thisStepoptions- theResultOptionsto use when executing theJobDefinitionthis will determine theResultType's that you will receive from the emittedResult's- Returns:
- a
Publisherthat when subscribed to will create the result for thisStep
-
-