Class BlockMonitoring
- java.lang.Object
-
- ch.colabproject.colab.api.microchanges.live.monitoring.BlockMonitoring
-
- All Implemented Interfaces:
ch.colabproject.colab.generator.model.interfaces.WithJsonDiscriminator
,Serializable
public class BlockMonitoring extends Object implements ch.colabproject.colab.generator.model.interfaces.WithJsonDiscriminator
Admin tool to monitor live block changes- Author:
- maxence
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlockMonitoring.BlockStatus
Status of the block
-
Constructor Summary
Constructors Constructor Description BlockMonitoring()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getBlockId()
Get idBlockMonitoring.BlockStatus
getStatus()
status of the live-editionString
getTitle()
Get human descriptionvoid
setBlockId(Long blockId)
set block idvoid
setStatus(BlockMonitoring.BlockStatus status)
set statusvoid
setTitle(String title)
Set human description
-
-
-
Method Detail
-
getBlockId
public Long getBlockId()
Get id- Returns:
- the id of the block
-
setBlockId
public void setBlockId(Long blockId)
set block id- Parameters:
blockId
- new block id
-
getStatus
public BlockMonitoring.BlockStatus getStatus()
status of the live-edition- Returns:
- the status
-
setStatus
public void setStatus(BlockMonitoring.BlockStatus status)
set status- Parameters:
status
- the status
-
getTitle
public String getTitle()
Get human description- Returns:
- the description
-
setTitle
public void setTitle(String title)
Set human description- Parameters:
title
- new text
-
-