public abstract class CompositeExecutionRunner<C extends AbstractContext> extends AbstractRunner<C>
batchContext, enclosingRunner, id, jobContext
Modifier | Constructor and Description |
---|---|
protected |
CompositeExecutionRunner(C batchContext,
CompositeExecutionRunner enclosingRunner) |
Modifier and Type | Method and Description |
---|---|
protected abstract List<? extends JobElement> |
getJobElements() |
protected void |
runDecision(Decision decision,
javax.batch.runtime.StepExecution... precedingStepExecutions) |
protected void |
runFlow(Flow flow,
CountDownLatch latch) |
protected void |
runFromHeadOrRestartPoint(String restartPoint)
Runs the first job element, which then transitions to the next element.
|
protected void |
runJobElement(String jobElementName,
javax.batch.runtime.StepExecution... precedingStepExecutions)
Runs the job element including step, decision, flow, and split.
|
protected void |
runSplit(Split split) |
protected void |
runStep(Step step) |
getRequiredRemainingPermits, matches, resolveTransitionElements
protected CompositeExecutionRunner(C batchContext, CompositeExecutionRunner enclosingRunner)
protected abstract List<? extends JobElement> getJobElements()
protected void runFromHeadOrRestartPoint(String restartPoint)
protected void runJobElement(String jobElementName, javax.batch.runtime.StepExecution... precedingStepExecutions)
jobElementName
- ref name of the job elementprecedingStepExecutions
- 0 or 1 StepExecution, 1 StepExecution is passed in for decision element, and 0 StepExecution for others.protected void runStep(Step step)
protected void runDecision(Decision decision, javax.batch.runtime.StepExecution... precedingStepExecutions)
protected void runFlow(Flow flow, CountDownLatch latch)
protected void runSplit(Split split)
Copyright © 2018 JBoss by Red Hat. All rights reserved.