Class JobDefinitionStep
- java.lang.Object
-
- org.kinotic.continuum.grind.internal.api.AbstractStep
-
- org.kinotic.continuum.grind.internal.api.JobDefinitionStep
-
public class JobDefinitionStep extends AbstractStep implements HasSteps
Provides functionality for aStepthat will execute aJobDefinitionCreated by Navid Mitchell on 8/5/20
-
-
Field Summary
-
Fields inherited from class org.kinotic.continuum.grind.internal.api.AbstractStep
sequence
-
-
Constructor Summary
Constructors Constructor Description JobDefinitionStep(int sequence, JobDefinition jobDefinition)
-
Method Summary
All Methods Instance Methods Concrete 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 forjava.util.List<Step>getSteps()-
Methods inherited from class org.kinotic.continuum.grind.internal.api.AbstractStep
getSequence, notifyDiagnostic, notifyException, notifyProgress
-
-
-
-
Constructor Detail
-
JobDefinitionStep
public JobDefinitionStep(int sequence, JobDefinition jobDefinition)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Description copied from interface:StepThe description comes from theTaskorJobDefinitionthat this step was created for- Specified by:
getDescriptionin interfaceStep- 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.- Specified by:
assemblein interfaceStep- 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
-
-