BEAST
eu.baltrad.beast.admin.JsonGeneratorImpl Class Reference

Implementation of the json generator. More...

Inheritance diagram for eu.baltrad.beast.admin.JsonGeneratorImpl:
eu.baltrad.beast.admin.JsonGenerator

Public Member Functions

 JsonGeneratorImpl ()
 Default constructor.
 
String toJson (CommandResponse response)
 
String toJson (Adaptor adaptor)
 
String toJsonFromAdaptors (List< Adaptor > adaptors)
 
String toJson (Route route)
 
String toJson (CronEntry entry)
 
String toJsonFromRoutes (List< Route > routes)
 
String toJsonFromCronEntries (List< CronEntry > entries)
 
String toJson (AnomalyDetector detector)
 
String toJsonFromAnomalyDetectorList (List< AnomalyDetector > detectors)
 
String toJson (User user)
 
String toJsonFromUsers (List< User > users)
 
String toJson (Settings settings)
 Generates a JSON message from settings.
 

Detailed Description

Implementation of the json generator.

Author
anders

Constructor & Destructor Documentation

◆ JsonGeneratorImpl()

eu.baltrad.beast.admin.JsonGeneratorImpl.JsonGeneratorImpl ( )
inline

Default constructor.

Member Function Documentation

◆ toJson() [1/7]

String eu.baltrad.beast.admin.JsonGeneratorImpl.toJson ( Adaptor adaptor)
inline
See also
eu.baltrad.beast.admin.JsonGenerator.toJson(adaptor)

Implements eu.baltrad.beast.admin.JsonGenerator.

◆ toJson() [2/7]

String eu.baltrad.beast.admin.JsonGeneratorImpl.toJson ( AnomalyDetector detector)
inline

◆ toJson() [3/7]

String eu.baltrad.beast.admin.JsonGeneratorImpl.toJson ( CommandResponse response)
inline

◆ toJson() [4/7]

String eu.baltrad.beast.admin.JsonGeneratorImpl.toJson ( CronEntry entry)
inline

◆ toJson() [5/7]

String eu.baltrad.beast.admin.JsonGeneratorImpl.toJson ( Route route)
inline

◆ toJson() [6/7]

String eu.baltrad.beast.admin.JsonGeneratorImpl.toJson ( Settings settings)
inline

Generates a JSON message from settings.

Parameters
settingsthe settings
Returns
the JSON string

Implements eu.baltrad.beast.admin.JsonGenerator.

◆ toJson() [7/7]

String eu.baltrad.beast.admin.JsonGeneratorImpl.toJson ( User user)
inline

◆ toJsonFromAdaptors()

String eu.baltrad.beast.admin.JsonGeneratorImpl.toJsonFromAdaptors ( List< Adaptor > adaptors)
inline

◆ toJsonFromAnomalyDetectorList()

String eu.baltrad.beast.admin.JsonGeneratorImpl.toJsonFromAnomalyDetectorList ( List< AnomalyDetector > detectors)
inline
See also
eu.baltrad.beast.admin.JsonGenerator.toJsonFromAnomalyDetectorList(List)

Implements eu.baltrad.beast.admin.JsonGenerator.

◆ toJsonFromCronEntries()

String eu.baltrad.beast.admin.JsonGeneratorImpl.toJsonFromCronEntries ( List< CronEntry > entries)
inline

◆ toJsonFromRoutes()

String eu.baltrad.beast.admin.JsonGeneratorImpl.toJsonFromRoutes ( List< Route > routes)
inline

◆ toJsonFromUsers()

String eu.baltrad.beast.admin.JsonGeneratorImpl.toJsonFromUsers ( List< User > users)
inline
See also
eu.baltrad.beast.admin.JsonGenerator.toJsonFromUsers(List)

Implements eu.baltrad.beast.admin.JsonGenerator.


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