public final class ConfigScope
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static ConfigScope |
DISABLED
Marks a configuration feature as globally disabled.
|
static int |
DISABLED_ID |
static ConfigScope |
GLOBALLY
Marks a configuration feature as globally enabled.
|
static int |
GLOBALLY_ID |
static ConfigScope |
INDIVIDUALLY
Marks a configuration feature as individually configurable.
|
static int |
INDIVIDUALLY_ID |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyConfig(TernaryBool defaultValue)
Checks if the current configuration scope is globally
enabled or disabled.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public static final int DISABLED_ID
public static final int INDIVIDUALLY_ID
public static final int GLOBALLY_ID
public static final ConfigScope DISABLED
public static final ConfigScope INDIVIDUALLY
public static final ConfigScope GLOBALLY
public boolean applyConfig(TernaryBool defaultValue)
defaultValue - - default resultpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object