BEAST
eu.baltrad.beast.admin.command_response.SettingCommandResponse Class Reference
Inheritance diagram for eu.baltrad.beast.admin.command_response.SettingCommandResponse:
eu.baltrad.beast.admin.CommandResponse

Public Member Functions

 SettingCommandResponse ()
 Constructor.
 
 SettingCommandResponse (boolean status)
 Constructor.
 
boolean wasSuccessful ()
 If operation was successful or not.
 
boolean isStatus ()
 
void setStatus (boolean status)
 
void addProperty (String field, String value)
 Adds a property to settings.
 
Settings getSettings ()
 The settings.
 

Detailed Description

Author
anders

Constructor & Destructor Documentation

◆ SettingCommandResponse() [1/2]

eu.baltrad.beast.admin.command_response.SettingCommandResponse.SettingCommandResponse ( )
inline

Constructor.

◆ SettingCommandResponse() [2/2]

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

Constructor.

Parameters
statusstatus of operation

Member Function Documentation

◆ addProperty()

void eu.baltrad.beast.admin.command_response.SettingCommandResponse.addProperty ( String field,
String value )
inline

Adds a property to settings.

Parameters
fieldthe field name
valuethe value

◆ getSettings()

Settings eu.baltrad.beast.admin.command_response.SettingCommandResponse.getSettings ( )
inline

The settings.

Returns
the settings

◆ isStatus()

boolean eu.baltrad.beast.admin.command_response.SettingCommandResponse.isStatus ( )
inline
Returns
the status

◆ setStatus()

void eu.baltrad.beast.admin.command_response.SettingCommandResponse.setStatus ( boolean status)
inline
Parameters
statusthe status to set

◆ wasSuccessful()

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

If operation was successful or not.

Implements eu.baltrad.beast.admin.CommandResponse.


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