Interface TaskWithBlock
-
- All Superinterfaces:
SerializableTask
public interface TaskWithBlock extends SerializableTask
Information about task exposed via its root block.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>
getActiveBlocks()
Returns list of block ids which are active at the moment.BlockState
getBlock()
Returns state of the root block-
Methods inherited from interface com.xebialabs.deployit.engine.api.execution.SerializableTask
getCompletionDate, getDescription, getFailureCount, getId, getMetadata, getOwner, getPackageDependencies, getScheduledDate, getStartDate, getState, getWorkerId
-
-
-
-
Method Detail
-
getBlock
BlockState getBlock()
Returns state of the root block
-
getActiveBlocks
java.util.List<java.lang.String> getActiveBlocks()
Returns list of block ids which are active at the moment.
-
-