stateOperator
property may be added in future versions
if needed.
cascadeOn | |
haltOn | |
jobs | |
name | A name, can be any text. |
stop | Read only view of the internal stop flag. |
Example 1 | A cascade of two jobs. |
Example 2 | Showing cascade being used with parallel. |
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Configured By | ELEMENT |
Access | WRITE_ONLY |
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. |
A name, can be any text.
Access | READ_ONLY |
Required | Read only. |
Read only view of the internal stop flag. This flag is cleared with a reset.
A cascade of two jobs.
<oddjob> <job> <cascade> <jobs> <echo>This runs first.</echo> <echo>Then this.</echo> </jobs> </cascade> </job> </oddjob>
Showing cascade being used with parallel. The cascade will wait for the parallel job to finish before running the third job.
<oddjob> <job> <cascade> <jobs> <parallel> <jobs> <echo>Oranges could be first or second.</echo> <echo>Pears could be first or second.</echo> </jobs> </parallel> <echo>Apples are guaranteed to be third.</echo> </jobs> </cascade> </job> </oddjob>