public class JSLJob extends Object
Java class for Job complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Job">
<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 maxOccurs="unbounded" minOccurs="0">
<element name="decision" type="{http://xmlns.jcp.org/xml/ns/javaee}Decision"/>
<element name="flow" type="{http://xmlns.jcp.org/xml/ns/javaee}Flow"/>
<element name="split" type="{http://xmlns.jcp.org/xml/ns/javaee}Split"/>
<element name="step" type="{http://xmlns.jcp.org/xml/ns/javaee}Step"/>
</choice>
</sequence>
<attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="1.0" />
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
<attribute name="restartable" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ExecutionElement> |
executionElements |
protected String |
id |
protected Listeners |
listeners |
protected JSLProperties |
properties |
protected String |
restartable |
protected String |
version |
| Constructor and Description |
|---|
JSLJob() |
| Modifier and Type | Method and Description |
|---|---|
List<ExecutionElement> |
getExecutionElements()
Gets the value of the executionElements property.
|
String |
getId()
Gets the value of the id property.
|
Listeners |
getListeners()
Gets the value of the listeners property.
|
JSLProperties |
getProperties()
Gets the value of the properties property.
|
String |
getRestartable()
Gets the value of the restartable property.
|
String |
getVersion()
Gets the value of the version property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setListeners(Listeners value)
Sets the value of the listeners property.
|
void |
setProperties(JSLProperties value)
Sets the value of the properties property.
|
void |
setRestartable(String value)
Sets the value of the restartable property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
protected JSLProperties properties
protected Listeners listeners
protected List<ExecutionElement> executionElements
protected String version
protected String id
protected String restartable
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 List<ExecutionElement> getExecutionElements()
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 executionElements property.
For example, to add a new item, do as follows:
getExecutionElements().add(newItem);
Objects of the following type(s) are allowed in the list
Flow
Step
Split
Decision
public String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getRestartable()
StringCopyright © 2023 The Apache Software Foundation. All rights reserved.