
public final class Flow extends InheritableJobElement
jsl:Flow in job XML.| Modifier and Type | Method and Description |
|---|---|
void |
addTransitionElement(Transition transition)
Adds a
org.jberet.job.model.Transition to the list of transition elements of this job element. |
String |
getAttributeNext()
Gets the value of the
next attribute, which specifies the next job element after this flow completes. |
String |
getId()
Gets the id of this job element.
|
List<JobElement> |
getJobElements()
Gets the list of job elements contained inside this flow.
|
Listeners |
getListeners()
Disables getting listeners, since flow does not have listeners.
|
Properties |
getProperties()
Disables getting properties, since flow does not have properties.
|
List<Transition> |
getTransitionElements()
Gets the list of transition elements, such as
Transition.End,
Transition.Fail, Transition.Next,
Transition.Stop. |
void |
setListeners(Listeners listeners)
Disables setting listeners, since flow does not have listeners.
|
void |
setProperties(Properties properties)
Disables setting properties, since flow does not have properties.
|
isAbstractpublic String getAttributeNext()
next attribute, which specifies the next job element after this flow completes.next attribute valuepublic List<JobElement> getJobElements()
public Listeners getListeners()
getListeners in class InheritableJobElementIllegalStateException - alwayspublic void setListeners(Listeners listeners)
setListeners in class InheritableJobElementlisteners - N/AIllegalStateException - alwayspublic Properties getProperties()
IllegalStateException - alwayspublic void setProperties(Properties properties)
properties - N/AIllegalStateException - alwayspublic final String getId()
JobElementgetId in interface JobElementpublic List<Transition> getTransitionElements()
JobElementTransition.End,
Transition.Fail, Transition.Next,
Transition.Stop.getTransitionElements in interface JobElementpublic void addTransitionElement(Transition transition)
JobElementorg.jberet.job.model.Transition to the list of transition elements of this job element.addTransitionElement in interface JobElementtransition - a org.jberet.job.model.TransitionCopyright © 2016 JBoss by Red Hat. All rights reserved.