Package org.apache.batchee.jaxb
Class Step
- java.lang.Object
-
- org.apache.batchee.jaxb.Step
-
- All Implemented Interfaces:
ExecutionElement
public class Step extends Object implements ExecutionElement
Java class for Step complex type.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringallowStartIfCompleteprotected Batchletbatchletprotected Chunkchunkprotected Stringidprotected Listenerslistenersprotected StringnextFromAttributeprotected Partitionpartitionprotected JSLPropertiespropertiesprotected StringstartLimitprotected List<TransitionElement>transitionElements
-
Constructor Summary
Constructors Constructor Description Step()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAllowStartIfComplete()Gets the value of the allowStartIfComplete property.BatchletgetBatchlet()Gets the value of the batchlet property.ChunkgetChunk()Gets the value of the chunk property.StringgetId()Gets the value of the id property.ListenersgetListeners()Gets the value of the listeners property.StringgetNextFromAttribute()Gets the value of the nextFromAttribute property.PartitiongetPartition()Gets the value of the partition property.JSLPropertiesgetProperties()Gets the value of the properties property.StringgetStartLimit()Gets the value of the startLimit property.List<TransitionElement>getTransitionElements()Gets the value of the transitionElements property.voidsetAllowStartIfComplete(String value)Sets the value of the allowStartIfComplete property.voidsetBatchlet(Batchlet value)Sets the value of the batchlet property.voidsetChunk(Chunk value)Sets the value of the chunk property.voidsetId(String value)Sets the value of the id property.voidsetListeners(Listeners value)Sets the value of the listeners property.voidsetNextFromAttribute(String value)Sets the value of the nextFromAttribute property.voidsetPartition(Partition value)Sets the value of the partition property.voidsetProperties(JSLProperties value)Sets the value of the properties property.voidsetStartLimit(String value)Sets the value of the startLimit property.
-
-
-
Field Detail
-
properties
protected JSLProperties properties
-
listeners
protected Listeners listeners
-
batchlet
protected Batchlet batchlet
-
chunk
protected Chunk chunk
-
partition
protected Partition partition
-
transitionElements
protected List<TransitionElement> transitionElements
-
id
protected String id
-
startLimit
protected String startLimit
-
allowStartIfComplete
protected String allowStartIfComplete
-
nextFromAttribute
protected String nextFromAttribute
-
-
Method Detail
-
getProperties
public JSLProperties getProperties()
Gets the value of the properties property.- Returns:
- possible object is
JSLProperties
-
setProperties
public void setProperties(JSLProperties value)
Sets the value of the properties property.- Parameters:
value- allowed object isJSLProperties
-
getListeners
public Listeners getListeners()
Gets the value of the listeners property.- Returns:
- possible object is
Listeners
-
setListeners
public void setListeners(Listeners value)
Sets the value of the listeners property.- Parameters:
value- allowed object isListeners
-
getBatchlet
public Batchlet getBatchlet()
Gets the value of the batchlet property.- Returns:
- possible object is
Batchlet
-
setBatchlet
public void setBatchlet(Batchlet value)
Sets the value of the batchlet property.- Parameters:
value- allowed object isBatchlet
-
getChunk
public Chunk getChunk()
Gets the value of the chunk property.- Returns:
- possible object is
Chunk
-
setChunk
public void setChunk(Chunk value)
Sets the value of the chunk property.- Parameters:
value- allowed object isChunk
-
getPartition
public Partition getPartition()
Gets the value of the partition property.- Returns:
- possible object is
Partition
-
setPartition
public void setPartition(Partition value)
Sets the value of the partition property.- Parameters:
value- allowed object isPartition
-
getTransitionElements
public List<TransitionElement> getTransitionElements()
Gets the value of the transitionElements property.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
setmethod 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
NextFailStopEnd- Specified by:
getTransitionElementsin interfaceExecutionElement
-
getId
public String getId()
Gets the value of the id property.- Specified by:
getIdin interfaceExecutionElement- Returns:
- possible object is
String
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getStartLimit
public String getStartLimit()
Gets the value of the startLimit property.- Returns:
- possible object is
String
-
setStartLimit
public void setStartLimit(String value)
Sets the value of the startLimit property.- Parameters:
value- allowed object isString
-
getAllowStartIfComplete
public String getAllowStartIfComplete()
Gets the value of the allowStartIfComplete property.- Returns:
- possible object is
String
-
setAllowStartIfComplete
public void setAllowStartIfComplete(String value)
Sets the value of the allowStartIfComplete property.- Parameters:
value- allowed object isString
-
getNextFromAttribute
public String getNextFromAttribute()
Gets the value of the nextFromAttribute property.- Returns:
- possible object is
String
-
-