|
static final String | UPDATE_SETTINGS = "update_settings" |
|
static final String | LIST = "list_settings" |
|
static final String | IMPORT = "import_settings" |
|
static final String | EXPORT = "export_settings" |
|
◆ SettingCommand() [1/3]
eu.baltrad.beast.admin.command.SettingCommand.SettingCommand |
( |
| ) |
|
|
inline |
◆ SettingCommand() [2/3]
eu.baltrad.beast.admin.command.SettingCommand.SettingCommand |
( |
String | operation | ) |
|
|
inline |
◆ SettingCommand() [3/3]
eu.baltrad.beast.admin.command.SettingCommand.SettingCommand |
( |
String | operation, |
|
|
Settings | settings ) |
|
inline |
◆ getOperation()
String eu.baltrad.beast.admin.command.SettingCommand.getOperation |
( |
| ) |
|
|
inline |
◆ getSetting() [1/2]
String eu.baltrad.beast.admin.command.SettingCommand.getSetting |
( |
String | name | ) |
|
|
inline |
Returns the setting.
- Parameters
-
name | the name of the setting |
- Returns
- the value
◆ getSetting() [2/2]
String eu.baltrad.beast.admin.command.SettingCommand.getSetting |
( |
String | name, |
|
|
String | defaultValue ) |
|
inline |
Return the setting or default value.
- Parameters
-
name | the name of the setting |
defaultValue | the value to return if no matching setting found |
- Returns
- the value
◆ getSettings()
Settings eu.baltrad.beast.admin.command.SettingCommand.getSettings |
( |
| ) |
|
|
inline |
Sets a full map.
- Parameters
-
◆ hasSetting()
boolean eu.baltrad.beast.admin.command.SettingCommand.hasSetting |
( |
String | name | ) |
|
|
inline |
Return if setting exists or not.
- Parameters
-
- Returns
- true if setting exists
◆ setOperation()
void eu.baltrad.beast.admin.command.SettingCommand.setOperation |
( |
String | operation | ) |
|
|
inline |
- Parameters
-
operation | the operation to set |
◆ setSettings()
void eu.baltrad.beast.admin.command.SettingCommand.setSettings |
( |
Settings | settings | ) |
|
|
inline |
Sets a full map.
- Parameters
-
◆ validate()
boolean eu.baltrad.beast.admin.command.SettingCommand.validate |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- src/eu/baltrad/beast/admin/command/SettingCommand.java