Skip to main content

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 TypeClass and Description
static classSetting.AccessLevel
Represents how the setting can be accessed
static classSetting.KEY
Represents the key of this configuration
static classSetting.TYPE
The type of the setting

Field Summary

Modifier and TypeField and Description
Setting.AccessLevelaccessLevel
Setting.AccessLevel of the setting
Setting.KEYkey
Setting.KEY of this setting
java.lang.Stringvalue
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()