public class TaskPreviewBlock extends AbstractDto
Constructor and Description |
---|
TaskPreviewBlock() |
TaskPreviewBlock(java.lang.String id) |
TaskPreviewBlock(java.lang.String id,
BlockState block) |
Modifier and Type | Method and Description |
---|---|
BlockState |
getBlock() |
java.lang.String |
getId() |
void |
setBlock(BlockState block) |
void |
setId(java.lang.String id) |
toString
public TaskPreviewBlock()
public TaskPreviewBlock(java.lang.String id)
public TaskPreviewBlock(java.lang.String id, BlockState block)
public void setId(java.lang.String id)
id
- The id of the preview.public java.lang.String getId()
public void setBlock(BlockState block)
block
- The block details.public BlockState getBlock()