public class Step extends Object implements ExecutionElement
The following schema fragment specifies the expected content contained within this class.
<complexType name="Step">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="properties" type="{http://xmlns.jcp.org/xml/ns/javaee}Properties" minOccurs="0"/>
<element name="listeners" type="{http://xmlns.jcp.org/xml/ns/javaee}Listeners" minOccurs="0"/>
<choice minOccurs="0">
<element name="batchlet" type="{http://xmlns.jcp.org/xml/ns/javaee}Batchlet"/>
<element name="chunk" type="{http://xmlns.jcp.org/xml/ns/javaee}Chunk"/>
</choice>
<element name="partition" type="{http://xmlns.jcp.org/xml/ns/javaee}Partition" minOccurs="0"/>
<group ref="{http://xmlns.jcp.org/xml/ns/javaee}TransitionElements" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
<attribute name="start-limit" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="allow-start-if-complete" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="next" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
allowStartIfComplete |
protected Batchlet |
batchlet |
protected Chunk |
chunk |
protected String |
id |
protected Listeners |
listeners |
protected String |
nextFromAttribute |
protected Partition |
partition |
protected JSLProperties |
properties |
protected String |
startLimit |
protected List<TransitionElement> |
transitionElements |
| Constructor and Description |
|---|
Step() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowStartIfComplete()
Gets the value of the allowStartIfComplete property.
|
Batchlet |
getBatchlet()
Gets the value of the batchlet property.
|
Chunk |
getChunk()
Gets the value of the chunk property.
|
String |
getId()
Gets the value of the id property.
|
Listeners |
getListeners()
Gets the value of the listeners property.
|
String |
getNextFromAttribute()
Gets the value of the nextFromAttribute property.
|
Partition |
getPartition()
Gets the value of the partition property.
|
JSLProperties |
getProperties()
Gets the value of the properties property.
|
String |
getStartLimit()
Gets the value of the startLimit property.
|
List<TransitionElement> |
getTransitionElements()
Gets the value of the transitionElements property.
|
void |
setAllowStartIfComplete(String value)
Sets the value of the allowStartIfComplete property.
|
void |
setBatchlet(Batchlet value)
Sets the value of the batchlet property.
|
void |
setChunk(Chunk value)
Sets the value of the chunk property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setListeners(Listeners value)
Sets the value of the listeners property.
|
void |
setNextFromAttribute(String value)
Sets the value of the nextFromAttribute property.
|
void |
setPartition(Partition value)
Sets the value of the partition property.
|
void |
setProperties(JSLProperties value)
Sets the value of the properties property.
|
void |
setStartLimit(String value)
Sets the value of the startLimit property.
|
protected JSLProperties properties
protected Listeners listeners
protected Batchlet batchlet
protected Chunk chunk
protected Partition partition
protected List<TransitionElement> transitionElements
protected String id
protected String startLimit
protected String allowStartIfComplete
protected String nextFromAttribute
public JSLProperties getProperties()
JSLPropertiespublic void setProperties(JSLProperties value)
value - allowed object is
JSLPropertiespublic Listeners getListeners()
Listenerspublic void setListeners(Listeners value)
value - allowed object is
Listenerspublic Batchlet getBatchlet()
Batchletpublic void setBatchlet(Batchlet value)
value - allowed object is
Batchletpublic Chunk getChunk()
Chunkpublic void setChunk(Chunk value)
value - allowed object is
Chunkpublic Partition getPartition()
Partitionpublic void setPartition(Partition value)
value - allowed object is
Partitionpublic List<TransitionElement> getTransitionElements()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the transitionElements property.
For example, to add a new item, do as follows:
getTransitionElements().add(newItem);
Objects of the following type(s) are allowed in the list
Next
Fail
Stop
End
getTransitionElements in interface ExecutionElementpublic String getId()
getId in interface ExecutionElementStringpublic void setId(String value)
value - allowed object is
Stringpublic String getStartLimit()
Stringpublic void setStartLimit(String value)
value - allowed object is
Stringpublic String getAllowStartIfComplete()
Stringpublic void setAllowStartIfComplete(String value)
value - allowed object is
Stringpublic String getNextFromAttribute()
StringCopyright © 2022 The Apache Software Foundation. All rights reserved.