BEAST
eu.baltrad.beast.system.GroupedStatusReporter Class Reference

Used for grouping a number of reporters into a combined version. More...

Inheritance diagram for eu.baltrad.beast.system.GroupedStatusReporter:
eu.baltrad.beast.system.ISystemStatusReporter

Public Member Functions

 GroupedStatusReporter (String name)
 Constructor.
 
void setReporters (List< ISystemStatusReporter > reporters)
 
String getName ()
 
Set< String > getSupportedAttributes ()
 
Set< SystemStatusgetStatus (Map< String, Object > values)
 

Protected Member Functions

String[] tokenizeString (String str)
 Returns an array of tokens (comma separated)
 

Detailed Description

Used for grouping a number of reporters into a combined version.

For example a system health check can be performed with system=bdb,db and there are two different reporters, one for bdb and the other for db. Then you can create a grouped status reporter that will check all reporters for their status.

Author
Anders Henja

Constructor & Destructor Documentation

◆ GroupedStatusReporter()

eu.baltrad.beast.system.GroupedStatusReporter.GroupedStatusReporter ( String name)
inline

Constructor.

Parameters
namethe name this group should be known as

Member Function Documentation

◆ getName()

String eu.baltrad.beast.system.GroupedStatusReporter.getName ( )
inline

◆ getStatus()

Set< SystemStatus > eu.baltrad.beast.system.GroupedStatusReporter.getStatus ( Map< String, Object > values)
inline

◆ getSupportedAttributes()

Set< String > eu.baltrad.beast.system.GroupedStatusReporter.getSupportedAttributes ( )
inline

◆ setReporters()

void eu.baltrad.beast.system.GroupedStatusReporter.setReporters ( List< ISystemStatusReporter > reporters)
inline
Parameters
reporters

◆ tokenizeString()

String[] eu.baltrad.beast.system.GroupedStatusReporter.tokenizeString ( String str)
inlineprotected

Returns an array of tokens (comma separated)

Parameters
strthe string to tokenize
Returns
an array of tokens (always != null)

The documentation for this class was generated from the following file: