public interface JobXMLDescriptor extends Descriptor, DescriptorNamespace<JobXMLDescriptor>, JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>
This deployment descriptor provides the functionalities as described in the specification
Example:
JobXMLDescriptor descriptor = Descriptors.create(JobXMLDescriptor.class);
Modifier and Type | Method and Description |
---|---|
Decision<JobXMLDescriptor> |
createDecision()
Creates a new
decision element |
Flow<JobXMLDescriptor> |
createFlow()
Creates a new
flow element |
Split<JobXMLDescriptor> |
createSplit()
Creates a new
split element |
Step<JobXMLDescriptor> |
createStep()
Creates a new
step element |
List<Decision<JobXMLDescriptor>> |
getAllDecision()
Returns all
decision elements |
List<Flow<JobXMLDescriptor>> |
getAllFlow()
Returns all
flow elements |
List<Split<JobXMLDescriptor>> |
getAllSplit()
Returns all
split elements |
List<Step<JobXMLDescriptor>> |
getAllStep()
Returns all
step elements |
String |
getId()
Returns the
id attribute |
Decision<JobXMLDescriptor> |
getOrCreateDecision()
If not already created, a new
decision element will be created and returned. |
Flow<JobXMLDescriptor> |
getOrCreateFlow()
If not already created, a new
flow element will be created and returned. |
Listeners<JobXMLDescriptor> |
getOrCreateListeners()
If not already created, a new
listeners element with the given value will be created. |
Properties<JobXMLDescriptor> |
getOrCreateProperties()
If not already created, a new
properties element with the given value will be created. |
Split<JobXMLDescriptor> |
getOrCreateSplit()
If not already created, a new
split element will be created and returned. |
Step<JobXMLDescriptor> |
getOrCreateStep()
If not already created, a new
step element will be created and returned. |
String |
getRestartable()
Returns the
restartable attribute |
String |
getVersion()
Returns the
version attribute |
JobXMLDescriptor |
id(String id)
Sets the
id attribute |
JobXMLDescriptor |
removeAllDecision()
Removes all
decision elements |
JobXMLDescriptor |
removeAllFlow()
Removes all
flow elements |
JobXMLDescriptor |
removeAllSplit()
Removes all
split elements |
JobXMLDescriptor |
removeAllStep()
Removes all
step elements |
JobXMLDescriptor |
removeId()
Removes the
id attribute |
JobXMLDescriptor |
removeListeners()
Removes the
listeners element |
JobXMLDescriptor |
removeProperties()
Removes the
properties element |
JobXMLDescriptor |
removeRestartable()
Removes the
restartable attribute |
JobXMLDescriptor |
removeVersion()
Removes the
version attribute |
JobXMLDescriptor |
restartable(String restartable)
Sets the
restartable attribute |
JobXMLDescriptor |
version(String version)
Sets the
version attribute |
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
exportAsString, exportTo, getDescriptorName
static final String VERSION
Properties<JobXMLDescriptor> getOrCreateProperties()
properties
element with the given value will be created.
Otherwise, the existing properties
element will be returned.Properties
JobXMLDescriptor removeProperties()
properties
elementJobXMLDescriptor
Listeners<JobXMLDescriptor> getOrCreateListeners()
listeners
element with the given value will be created.
Otherwise, the existing listeners
element will be returned.Listeners
JobXMLDescriptor removeListeners()
listeners
elementJobXMLDescriptor
Decision<JobXMLDescriptor> getOrCreateDecision()
decision
element will be created and returned.
Otherwise, the first existing decision
element will be returned.decision
Decision<JobXMLDescriptor> createDecision()
decision
elementDecision
List<Decision<JobXMLDescriptor>> getAllDecision()
decision
elementsdecision
JobXMLDescriptor removeAllDecision()
decision
elementsDecision
Flow<JobXMLDescriptor> getOrCreateFlow()
flow
element will be created and returned.
Otherwise, the first existing flow
element will be returned.flow
Flow<JobXMLDescriptor> createFlow()
flow
elementFlow
List<Flow<JobXMLDescriptor>> getAllFlow()
flow
elementsflow
JobXMLDescriptor removeAllFlow()
flow
elementsFlow
Split<JobXMLDescriptor> getOrCreateSplit()
split
element will be created and returned.
Otherwise, the first existing split
element will be returned.split
Split<JobXMLDescriptor> createSplit()
split
elementSplit
List<Split<JobXMLDescriptor>> getAllSplit()
split
elementssplit
JobXMLDescriptor removeAllSplit()
split
elementsSplit
Step<JobXMLDescriptor> getOrCreateStep()
step
element will be created and returned.
Otherwise, the first existing step
element will be returned.step
Step<JobXMLDescriptor> createStep()
step
elementStep
List<Step<JobXMLDescriptor>> getAllStep()
step
elementsstep
JobXMLDescriptor removeAllStep()
step
elementsStep
JobXMLDescriptor version(String version)
version
attributeversion
in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>
version
- the value for the attribute version
JobXMLDescriptor
String getVersion()
version
attributegetVersion
in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>
version
JobXMLDescriptor removeVersion()
version
attributeremoveVersion
in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>
JobXMLDescriptor
JobXMLDescriptor id(String id)
id
attributeid
in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>
id
- the value for the attribute id
JobXMLDescriptor
String getId()
id
attributegetId
in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>
id
JobXMLDescriptor removeId()
id
attributeremoveId
in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>
JobXMLDescriptor
JobXMLDescriptor restartable(String restartable)
restartable
attributerestartable
in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>
restartable
- the value for the attribute restartable
JobXMLDescriptor
String getRestartable()
restartable
attributegetRestartable
in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>
restartable
JobXMLDescriptor removeRestartable()
restartable
attributeremoveRestartable
in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>
JobXMLDescriptor
Copyright © 2022 JBoss by Red Hat. All rights reserved.