BEAST
eu.baltrad.beast.admin.command_response.CommandResponseJsonObject Class Reference

Used when returning a command response containing a json object. More...

Inheritance diagram for eu.baltrad.beast.admin.command_response.CommandResponseJsonObject:
eu.baltrad.beast.admin.CommandResponse

Public Member Functions

 CommandResponseJsonObject (boolean status)
 Constructor.
 
 CommandResponseJsonObject (boolean status, String jsonString)
 Constructor.
 
 CommandResponseJsonObject (String jsonString)
 Constructor.
 
boolean wasSuccessful ()
 
String getJsonString ()
 
void setJsonString (String jsonString)
 

Detailed Description

Used when returning a command response containing a json object.

Author
anders

Constructor & Destructor Documentation

◆ CommandResponseJsonObject() [1/3]

eu.baltrad.beast.admin.command_response.CommandResponseJsonObject.CommandResponseJsonObject ( boolean status)
inline

Constructor.

Parameters
statusthe status

◆ CommandResponseJsonObject() [2/3]

eu.baltrad.beast.admin.command_response.CommandResponseJsonObject.CommandResponseJsonObject ( boolean status,
String jsonString )
inline

Constructor.

Parameters
statusthe status
jsonStringthe object as a json string

◆ CommandResponseJsonObject() [3/3]

eu.baltrad.beast.admin.command_response.CommandResponseJsonObject.CommandResponseJsonObject ( String jsonString)
inline

Constructor.

Sets status to true.

Parameters
jsonStringthe object as a json string

Member Function Documentation

◆ getJsonString()

String eu.baltrad.beast.admin.command_response.CommandResponseJsonObject.getJsonString ( )
inline
Returns
the jsonString

◆ setJsonString()

void eu.baltrad.beast.admin.command_response.CommandResponseJsonObject.setJsonString ( String jsonString)
inline
Parameters
jsonStringthe jsonString to set

◆ wasSuccessful()

boolean eu.baltrad.beast.admin.command_response.CommandResponseJsonObject.wasSuccessful ( )
inline

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