Class TaskStep
java.lang.Object
org.kinotic.continuum.grind.internal.api.AbstractStep
org.kinotic.continuum.grind.internal.api.TaskStep
- All Implemented Interfaces:
Step
-
Field Summary
Fields inherited from class org.kinotic.continuum.grind.internal.api.AbstractStep
sequence -
Constructor Summary
Constructors -
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 forMethods inherited from class org.kinotic.continuum.grind.internal.api.AbstractStep
getSequence, notifyDiagnostic, notifyException, notifyProgress
-
Constructor Details
-
TaskStep
-
TaskStep
-
TaskStep
- Parameters:
task- for this stepstoreResult- determines if the result of theTaskshould be stored in the execution contextresultName- the name of the result to use when storing the result in the execution context
-
-
Method Details
-
getDescription
Description copied from interface:StepThe description comes from theTaskorJobDefinitionthat this step was created for- Returns:
- the description of this
Step
-
assemble
public org.reactivestreams.Publisher<Result<?>> assemble(org.springframework.context.support.GenericApplicationContext applicationContext, ResultOptions options) Description copied from interface:StepPrepares 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
-