
public final class Step extends InheritableJobElement implements PropertiesHolder
jsl:Step 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 |
getAllowStartIfComplete()
Gets the step's
allow-start-if-complete attribute value. |
boolean |
getAllowStartIfCompleteBoolean()
Gets the step's
allow-start-if-complete attribute value as boolean. |
String |
getAttributeNext()
Gets the value of the
next attribute, which specifies the next job element after this step completes. |
RefArtifact |
getBatchlet()
Gets the step's batchlet as a
RefArtifact. |
Chunk |
getChunk()
Gets the step's chunk element.
|
String |
getId()
Gets the id of this job element.
|
Partition |
getPartition()
Gets the step's partition element.
|
Properties |
getProperties()
Gets the
org.jberet.job.model.Properties contained in this job element. |
String |
getStartLimit()
Gets the step's
start-limit attribute value as string. |
int |
getStartLimitInt()
Gets the step's
start-limit attribute value as int. |
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. |
getListeners, isAbstract, setListenersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperties, setPropertiespublic String getStartLimit()
start-limit attribute value as string.start-limit attribute value as stringpublic int getStartLimitInt()
start-limit attribute value as int.start-limit attribute value as intpublic String getAllowStartIfComplete()
allow-start-if-complete attribute value.allow-start-if-complete attribute value as stringpublic boolean getAllowStartIfCompleteBoolean()
allow-start-if-complete attribute value as boolean.allow-start-if-complete attribute value as booleanpublic String getAttributeNext()
next attribute, which specifies the next job element after this step completes.next attribute value (name of the next job element)public RefArtifact getBatchlet()
RefArtifact. For chunk-type step, this method returns null.public Chunk getChunk()
null.public Partition getPartition()
public 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.Transitionpublic 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 © 2016 JBoss by Red Hat. All rights reserved.