Class Setting
com.poly.polyos.settings
Class Setting
- java.lang.Object
- com.poly.polyos.settings.Setting
public class Setting
extends java.lang.Object
Represent a configuration setting.
Since:
3.0.11
See Also:
IPolySettingsService
Nested Class Summary
| Modifier and Type | Class and Description |
|---|---|
static class | Setting.AccessLevel |
| Represents how the setting can be accessed | |
static class | Setting.KEY |
| Represents the key of this configuration | |
static class | Setting.TYPE |
| The type of the setting |
Field Summary
| Modifier and Type | Field and Description |
|---|---|
Setting.AccessLevel | accessLevel |
Setting.AccessLevel of the setting | |
Setting.KEY | key |
Setting.KEY of this setting | |
java.lang.String | value |
Value of this setting, if key is of type Setting.TYPE.SINGLE | |
java.util.List<java.lang.String> | values |
Value of this setting, if key is of type Setting.TYPE.MULTIPLE or Setting.TYPE.OPTION |
Constructor Summary
Constructor and Description
Setting()
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
key
public Setting.KEY key
Setting.KEY of this setting
Since:
3.0.12
value
public java.lang.String value
Value of this setting, if key is of type Setting.TYPE.SINGLE
values
public java.util.List<java.lang.String> values
Value of this setting, if key is of typeSetting.TYPE.MULTIPLE or Setting.TYPE.OPTION
Since:
3.0.12
accessLevel
public Setting.AccessLevel accessLevel
Setting.AccessLevel of the setting.
Since:
3.3.0-6
Constructor Detail
Setting
public Setting()