public abstract class AbstractRunner<C extends AbstractContext> extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected C |
batchContext |
protected CompositeExecutionRunner |
enclosingRunner |
protected String |
id
The id of the job element this runner represents.
|
protected JobContextImpl |
jobContext |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRunner(C batchContext,
CompositeExecutionRunner enclosingRunner) |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
matches(String text,
String pattern) |
protected String |
resolveTransitionElements(List<?> transitionElements,
String nextAttr,
boolean partOfDecision)
Resolves a list of next, end, stop and fail elements to determine the next job element.
|
protected String id
protected C extends AbstractContext batchContext
protected JobContextImpl jobContext
protected CompositeExecutionRunner enclosingRunner
protected AbstractRunner(C batchContext, CompositeExecutionRunner enclosingRunner)
protected String resolveTransitionElements(List<?> transitionElements, String nextAttr, boolean partOfDecision)
transitionElements
- the group of control elements, i.e., next, end, stop and failnextAttr
- the next attribute valuepartOfDecision
- if these transition elements are part of a decision element. If so the current
batchContext's status will be updated to the terminating status. Otherwise, these
transition elements are part of a step or flow, and the terminating status has no
bearing on the current batchContext.Copyright © 2014 JBoss by Red Hat. All rights reserved.