public interface StatusSourceCollector
StatusSource
s to report on as composite.Modifier and Type | Field and Description |
---|---|
static String |
CLASS_VERSION
The version of this interface.
|
Modifier and Type | Method and Description |
---|---|
void |
addStatusSource(String pName,
StatusSource pSource)
Adds a
StatusSource to the collection. |
JSONMap.JSONList |
getJSONReport()
A report of the different
StatusSource in JSON format. |
String |
getReport(boolean pReset)
A report of the different
StatusSource in text format. |
static final String CLASS_VERSION
void addStatusSource(String pName, StatusSource pSource)
StatusSource
to the collection.pName
- ignored, but needed to work with Nursery
.pSource
- the StatusSource
to add to this collectorString getReport(boolean pReset)
StatusSource
in text format.pReset
- set to true
if you would like to reset the underlying StatusSource
after the report have been added to the reportJSONMap.JSONList getJSONReport()
StatusSource
in JSON format.© 1998- 2021 Escenic AS