public final class Split extends Object
jsl:Split
job element type 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 split completes. |
List<Flow> |
getFlows()
Gets the list of flows contained in this split.
|
String |
getId()
Gets the id of this job element.
|
Properties |
getProperties()
Disables getting properties, since split contains no batch properties.
|
List<Transition> |
getTransitionElements()
Gets the list of transition elements, such as
Transition.End ,
Transition.Fail , Transition.Next ,
Transition.Stop . |
void |
setProperties(Properties properties)
Disables setting properties, since split contains no batch properties.
|
public String getAttributeNext()
next
attribute, which specifies the next job element after this split completes.next
attribute valuepublic List<Flow> getFlows()
public 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.