
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, removeAllNamespacesexportAsString, exportTo, getDescriptorNamestatic final String VERSION
Properties<JobXMLDescriptor> getOrCreateProperties()
properties element with the given value will be created.
Otherwise, the existing properties element will be returned.PropertiesJobXMLDescriptor removeProperties()
properties elementJobXMLDescriptorListeners<JobXMLDescriptor> getOrCreateListeners()
listeners element with the given value will be created.
Otherwise, the existing listeners element will be returned.ListenersJobXMLDescriptor removeListeners()
listeners elementJobXMLDescriptorDecision<JobXMLDescriptor> getOrCreateDecision()
decision element will be created and returned.
Otherwise, the first existing decision element will be returned.decisionDecision<JobXMLDescriptor> createDecision()
decision elementDecisionList<Decision<JobXMLDescriptor>> getAllDecision()
decision elementsdecisionJobXMLDescriptor removeAllDecision()
decision elementsDecisionFlow<JobXMLDescriptor> getOrCreateFlow()
flow element will be created and returned.
Otherwise, the first existing flow element will be returned.flowFlow<JobXMLDescriptor> createFlow()
flow elementFlowList<Flow<JobXMLDescriptor>> getAllFlow()
flow elementsflowJobXMLDescriptor removeAllFlow()
flow elementsFlowSplit<JobXMLDescriptor> getOrCreateSplit()
split element will be created and returned.
Otherwise, the first existing split element will be returned.splitSplit<JobXMLDescriptor> createSplit()
split elementSplitList<Split<JobXMLDescriptor>> getAllSplit()
split elementssplitJobXMLDescriptor removeAllSplit()
split elementsSplitStep<JobXMLDescriptor> getOrCreateStep()
step element will be created and returned.
Otherwise, the first existing step element will be returned.stepStep<JobXMLDescriptor> createStep()
step elementStepList<Step<JobXMLDescriptor>> getAllStep()
step elementsstepJobXMLDescriptor removeAllStep()
step elementsStepJobXMLDescriptor 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 versionJobXMLDescriptorString getVersion()
version attributegetVersion in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>versionJobXMLDescriptor removeVersion()
version attributeremoveVersion in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>JobXMLDescriptorJobXMLDescriptor 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 idJobXMLDescriptorString getId()
id attributegetId in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>idJobXMLDescriptor removeId()
id attributeremoveId in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>JobXMLDescriptorJobXMLDescriptor 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 restartableJobXMLDescriptorString getRestartable()
restartable attributegetRestartable in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>restartableJobXMLDescriptor removeRestartable()
restartable attributeremoveRestartable in interface JobXMLCommonDescriptor<JobXMLDescriptor,Properties<JobXMLDescriptor>,Listeners<JobXMLDescriptor>,Decision<JobXMLDescriptor>,Flow<JobXMLDescriptor>,Split<JobXMLDescriptor>,Step<JobXMLDescriptor>>JobXMLDescriptorCopyright © 2025 JBoss by Red Hat. All rights reserved.