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 classBlockMonitoring.BlockStatusStatus of the block
-
Constructor Summary
Constructors Constructor Description BlockMonitoring()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetBlockId()Get idBlockMonitoring.BlockStatusgetStatus()status of the live-editionStringgetTitle()Get human descriptionvoidsetBlockId(Long blockId)set block idvoidsetStatus(BlockMonitoring.BlockStatus status)set statusvoidsetTitle(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
-
-