BEAST
|
Provides functionality for generating jsonified objects. More...
Public Member Functions | |
String | toJson (CommandResponse response) |
Generates a JSON message from a command response object. | |
String | toJson (Adaptor adaptor) |
Creates a JSON message from an adaptor. | |
String | toJsonFromAdaptors (List< Adaptor > adaptors) |
Creates a JSON message from a list of adaptors. | |
String | toJson (Route route) |
Generates a JSON message from a route object. | |
String | toJsonFromRoutes (List< Route > routes) |
Generates a JSON message from a list of routes. | |
String | toJson (CronEntry entry) |
Generates a JSON message from a cron entry. | |
String | toJsonFromCronEntries (List< CronEntry > entries) |
Generates a JSON message from a list of cron entries. | |
String | toJson (AnomalyDetector detector) |
Generates a JSON message from an anomaly detector. | |
String | toJsonFromAnomalyDetectorList (List< AnomalyDetector > detectors) |
Generates a JSON message from a list of anomaly detectors. | |
String | toJson (User user) |
Generates a JSON message from a user. | |
String | toJsonFromUsers (List< User > users) |
Generates a JSON message from a list of users. | |
String | toJson (Settings settings) |
Generates a JSON message from settings. | |
Provides functionality for generating jsonified objects.
String eu.baltrad.beast.admin.JsonGenerator.toJson | ( | Adaptor | adaptor | ) |
Creates a JSON message from an adaptor.
adaptor | the adaptor |
Implemented in eu.baltrad.beast.admin.JsonGeneratorImpl.
String eu.baltrad.beast.admin.JsonGenerator.toJson | ( | AnomalyDetector | detector | ) |
Generates a JSON message from an anomaly detector.
detector | the detector |
Implemented in eu.baltrad.beast.admin.JsonGeneratorImpl.
String eu.baltrad.beast.admin.JsonGenerator.toJson | ( | CommandResponse | response | ) |
Generates a JSON message from a command response object.
response | the response object |
Implemented in eu.baltrad.beast.admin.JsonGeneratorImpl.
String eu.baltrad.beast.admin.JsonGenerator.toJson | ( | CronEntry | entry | ) |
Generates a JSON message from a cron entry.
entry | the entry |
Implemented in eu.baltrad.beast.admin.JsonGeneratorImpl.
String eu.baltrad.beast.admin.JsonGenerator.toJson | ( | Route | route | ) |
Generates a JSON message from a route object.
route | the route |
Implemented in eu.baltrad.beast.admin.JsonGeneratorImpl.
String eu.baltrad.beast.admin.JsonGenerator.toJson | ( | Settings | settings | ) |
Generates a JSON message from settings.
settings | the settings |
Implemented in eu.baltrad.beast.admin.JsonGeneratorImpl.
String eu.baltrad.beast.admin.JsonGenerator.toJson | ( | User | user | ) |
Generates a JSON message from a user.
user | the user |
Implemented in eu.baltrad.beast.admin.JsonGeneratorImpl.
String eu.baltrad.beast.admin.JsonGenerator.toJsonFromAdaptors | ( | List< Adaptor > | adaptors | ) |
Creates a JSON message from a list of adaptors.
adaptors | the adaptor |
Implemented in eu.baltrad.beast.admin.JsonGeneratorImpl.
String eu.baltrad.beast.admin.JsonGenerator.toJsonFromAnomalyDetectorList | ( | List< AnomalyDetector > | detectors | ) |
Generates a JSON message from a list of anomaly detectors.
detectors | the detectors |
Implemented in eu.baltrad.beast.admin.JsonGeneratorImpl.
String eu.baltrad.beast.admin.JsonGenerator.toJsonFromCronEntries | ( | List< CronEntry > | entries | ) |
Generates a JSON message from a list of cron entries.
entries | the cron entries |
Implemented in eu.baltrad.beast.admin.JsonGeneratorImpl.
String eu.baltrad.beast.admin.JsonGenerator.toJsonFromRoutes | ( | List< Route > | routes | ) |
Generates a JSON message from a list of routes.
routes | the list of routes |
Implemented in eu.baltrad.beast.admin.JsonGeneratorImpl.
String eu.baltrad.beast.admin.JsonGenerator.toJsonFromUsers | ( | List< User > | users | ) |
Generates a JSON message from a list of users.
users | the users |
Implemented in eu.baltrad.beast.admin.JsonGeneratorImpl.