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:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet idstatus of the live-editiongetTitle()Get human descriptionvoidsetBlockId(Long blockId) set block idvoidsetStatus(BlockMonitoring.BlockStatus status) set statusvoidSet human descriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.colabproject.colab.generator.model.interfaces.WithJsonDiscriminator
getJsonDiscriminator
-
Constructor Details
-
BlockMonitoring
public BlockMonitoring()
-
-
Method Details
-
getBlockId
Get id- Returns:
- the id of the block
-
setBlockId
set block id- Parameters:
blockId- new block id
-
getStatus
status of the live-edition- Returns:
- the status
-
setStatus
set status- Parameters:
status- the status
-
getTitle
Get human description- Returns:
- the description
-
setTitle
Set human description- Parameters:
title- new text
-