Class TaskPreviewBlock
- java.lang.Object
-
- com.xebialabs.deployit.engine.api.dto.AbstractDto
-
- com.xebialabs.deployit.engine.api.execution.TaskPreviewBlock
-
public class TaskPreviewBlock extends AbstractDto
Contains the information about the generated block.
-
-
Constructor Summary
Constructors Constructor Description TaskPreviewBlock()
TaskPreviewBlock(java.lang.String id)
TaskPreviewBlock(java.lang.String id, BlockState block)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockState
getBlock()
java.lang.String
getId()
void
setBlock(BlockState block)
void
setId(java.lang.String id)
-
Methods inherited from class com.xebialabs.deployit.engine.api.dto.AbstractDto
toString
-
-
-
-
Constructor Detail
-
TaskPreviewBlock
public TaskPreviewBlock()
-
TaskPreviewBlock
public TaskPreviewBlock(java.lang.String id)
-
TaskPreviewBlock
public TaskPreviewBlock(java.lang.String id, BlockState block)
-
-
Method Detail
-
setId
public void setId(java.lang.String id)
- Parameters:
id
- The id of the preview.
-
getId
public java.lang.String getId()
- Returns:
- The id of the preview.
-
setBlock
public void setBlock(BlockState block)
- Parameters:
block
- The block details.
-
getBlock
public BlockState getBlock()
- Returns:
- The block details.
-
-