Step block state
StepBlockState refers to a block object with detailed step information.
A block is rendered in XML as a <block>
element. Since step block cannot contain child blocks the step block will only contain steps.
See also StepState for a detailed description of step state.
Attributes
- id
- The ID of the block
- state
- The current state of the block:
PENDING
,EXECUTING
,STOPPED
,FAILING
,FAILED
,ABORTING
,ABORTED
orDONE
. - description
- Textual description of the block.
- current
- When the block started executing, it contains the number of the active step. If the block is not started yet, the value will be 0.
Child elements
- <step>
- The list of step states.
Example
<block id="1-2-1" state="PENDING" description="Deploying on container tinyServer0" current="0"> <step failures="0" state="PENDING"> <description>Create Step</description> <log></log> <metadata> <order>40</order> <deployed_0>Infrastructure/tinyServer0/AnimalZooBE</deployed_0> <previewAvailable>false</previewAvailable> </metadata> </step> <step failures="0" state="PENDING"> <description>Upload Step</description> <log></log> <metadata> <order>40</order> <deployed_0>Infrastructure/tinyServer0/AnimalZooFE</deployed_0> <previewAvailable>false</previewAvailable> </metadata> </step> </block>