Package net.luckperms.api.query
Enum Class Flag
- All Implemented Interfaces:
Serializable,Comparable<Flag>,java.lang.constant.Constable
The flags which can be set for a query.
By default (in places like new instances of QueryOptions.Builder and
QueryOptions.defaultContextualOptions()), all Flags are set to true.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIf global or non-server-specific group memberships should be appliedIf global or non-world-specific group memberships should be appliedIf global or non-server-specific nodes should be appliedIf global or non-world-specific nodes should be appliedIf parent groups should be resolved -
Method Summary
-
Enum Constant Details
-
RESOLVE_INHERITANCE
If parent groups should be resolved -
INCLUDE_NODES_WITHOUT_SERVER_CONTEXT
If global or non-server-specific nodes should be applied -
INCLUDE_NODES_WITHOUT_WORLD_CONTEXT
If global or non-world-specific nodes should be applied -
APPLY_INHERITANCE_NODES_WITHOUT_SERVER_CONTEXT
If global or non-server-specific group memberships should be applied -
APPLY_INHERITANCE_NODES_WITHOUT_WORLD_CONTEXT
If global or non-world-specific group memberships should be applied
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-