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.
|
isAbstract
public 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 InheritableJobElement
IllegalStateException
- alwayspublic void setListeners(Listeners listeners)
setListeners
in class InheritableJobElement
listeners
- N/AIllegalStateException
- alwayspublic Properties getProperties()
IllegalStateException
- alwayspublic void setProperties(Properties properties)
properties
- N/AIllegalStateException
- alwayspublic final String getId()
JobElement
getId
in interface JobElement
public List<Transition> getTransitionElements()
JobElement
Transition.End
,
Transition.Fail
, Transition.Next
,
Transition.Stop
.getTransitionElements
in interface JobElement
public void addTransitionElement(Transition transition)
JobElement
org.jberet.job.model.Transition
to the list of transition elements of this job element.addTransitionElement
in interface JobElement
transition
- a org.jberet.job.model.Transition
Copyright © 2019 JBoss by Red Hat. All rights reserved.