Package org.kinotic.continuum.grind.api
Interface Step
- All Known Implementing Classes:
AbstractStep,JobDefinitionStep,TaskStep
public interface Step
A step in a
JobDefinition
Created by Navid Mitchell on 3/25/20-
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<Result<?>> assemble(org.springframework.context.support.GenericApplicationContext applicationContext, ResultOptions options) Prepares theStepfor execution.The description comes from theTaskorJobDefinitionthat this step was created forintThis is the sequence for this step in theJobDefinitionthe firstTaskwould create aStepwith a sequence of one and so on
-
Method Details
-
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
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
-