public final class Decision extends Object implements PropertiesHolder
jsl:Decision
job XML element type.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 |
getId()
Gets the id of this job element.
|
Properties |
getProperties()
Gets the
org.jberet.job.model.Properties contained in this job element. |
String |
getRef()
Gets the ref name for the associated decider.
|
List<Transition> |
getTransitionElements()
Gets the list of transition elements, such as
Transition.End ,
Transition.Fail , Transition.Next ,
Transition.Stop . |
void |
setProperties(Properties properties)
Sets the
org.jberet.job.model.Properties contained in this job element. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperties, setProperties
public String getRef()
public 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
public Properties getProperties()
org.jberet.job.model.Properties
contained in this job element.org.jberet.job.model.Properties
contained in this job elementpublic void setProperties(Properties properties)
org.jberet.job.model.Properties
contained in this job element.properties
- org.jberet.job.model.Properties
for this job elementCopyright © 2018 JBoss by Red Hat. All rights reserved.