Class Setting.AccessLevel
com.poly.polyos.settings
Class Setting.AccessLevel
- java.lang.Object
- com.poly.polyos.settings.Setting.AccessLevel
Enclosing class:
Setting
public static class
Setting.AccessLevel
extends java.lang.Object
Represents how the setting can be accessed.
Since:
3.3.0-6
Field Summary
Modifier and Type | Field and Description |
---|---|
boolean | readable |
Whether setting can be read | |
boolean | secure |
Whether setting is secure | |
boolean | writable |
Whether setting can be written |
Constructor Summary
Constructor and Description
AccessLevel()
Method Summary
Methods inherited from class java.lang.Object
clone
, equals
, finalize
, getClass
, hashCode
, notify
, notifyAll
, toString
, wait
, wait
, wait
Field Detail
readable
public boolean readable
Whether setting can be read. If shown to user, should be used to determine the visibility.
Note: If false, the value will be empty.
writable
public boolean writable
Whether setting can be written. If shown to user, should be used to determine if enabled / editable.
Note: If false, attempts to set the value will fail.
secure
public boolean secure
Whether setting is secure. Secure settings should not be shown to the end user, unless obfuscated.
Constructor Detail
AccessLevel
public AccessLevel()