fm.liveswitch.diagnostics.DiagnosticsData Class Reference

Data for diagnostics. More...

Public Member Functions

void add (String name, Object value)
 Add a named value. More...
 
 DiagnosticsData (String componentName)
 Constructor. More...
 
String getComponentName ()
 Gets the name of the component the data is from. More...
 
java.util.HashMap< String, Object > getData ()
 Gets the diagnostic data. More...
 
String toString ()
 Serialize DiagnosticsData to a string. More...
 

Detailed Description

Data for diagnostics.

Constructor & Destructor Documentation

◆ DiagnosticsData()

fm.liveswitch.diagnostics.DiagnosticsData.DiagnosticsData ( String  componentName)

Constructor.

Parameters
componentName

Member Function Documentation

◆ add()

void fm.liveswitch.diagnostics.DiagnosticsData.add ( String  name,
Object  value 
)

Add a named value.

Parameters
name
value

◆ getComponentName()

String fm.liveswitch.diagnostics.DiagnosticsData.getComponentName ( )

Gets the name of the component the data is from.

◆ getData()

java.util.HashMap<String,Object> fm.liveswitch.diagnostics.DiagnosticsData.getData ( )

Gets the diagnostic data.

◆ toString()

String fm.liveswitch.diagnostics.DiagnosticsData.toString ( )

Serialize DiagnosticsData to a string.