| Package | Description |
|---|---|
| me.lucko.luckperms.api | |
| me.lucko.luckperms.api.event.group | |
| me.lucko.luckperms.api.event.node |
| Modifier and Type | Interface and Description |
|---|---|
interface |
LocalizedNode
A node with a traceable origin
|
| Modifier and Type | Method and Description |
|---|---|
Node |
HeldPermission.asNode()
Converts this permission into a Node
|
Node |
Node.Builder.build()
Creates a
Node instance from the builder. |
Node |
LocalizedNode.getNode()
Gets the delegate node
|
| Modifier and Type | Method and Description |
|---|---|
Set<? extends Node> |
PermissionHolder.getEnduringPermissions()
Similar to
PermissionHolder.getPermissions(), except without transient permissions. |
ImmutableSetMultimap<ImmutableContextSet,Node> |
PermissionHolder.getNodes()
Gets the backing multimap containing every permission this holder has.
|
List<Node> |
PermissionHolder.getOwnNodes()
Gets a flattened/squashed view of the holders permissions.
|
Set<Node> |
PermissionHolder.getPermanentPermissionNodes()
Processes the nodes and returns the non-temporary ones.
|
SortedSet<? extends Node> |
PermissionHolder.getPermissions()
Gets a sorted set of all held permissions.
|
Set<Node> |
PermissionHolder.getTemporaryPermissionNodes()
Processes the nodes and returns the temporary ones.
|
ImmutableSetMultimap<ImmutableContextSet,Node> |
PermissionHolder.getTransientNodes()
Gets the backing multimap containing every transient permission this holder has.
|
Set<? extends Node> |
PermissionHolder.getTransientPermissions()
Similar to
PermissionHolder.getPermissions(), except without enduring permissions. |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
Node.almostEquals(Node other)
Deprecated.
in favour of
equals(Node, NodeEqualityPredicate) |
boolean |
StandardNodeEquality.areEqual(Node o1,
Node o2) |
boolean |
NodeEqualityPredicate.areEqual(Node o1,
Node o2)
Returns if the two nodes are equal
|
Node.Builder |
Node.Builder.copyFrom(Node node)
Copies the attributes from the given node and applies them to this
builder.
|
default boolean |
Node.equals(Node other,
NodeEqualityPredicate equalityPredicate)
Gets if this Node is equal to another node as defined by the given
NodeEqualityPredicate. |
default boolean |
Node.equalsIgnoringValue(Node other)
Deprecated.
in favour of
equals(Node, NodeEqualityPredicate) |
default boolean |
Node.equalsIgnoringValueOrTemp(Node other)
Deprecated.
in favour of
equals(Node, NodeEqualityPredicate) |
abstract Map.Entry<Integer,String> |
ChatMetaType.getEntry(Node node)
Maps the corresponding entry from the given node
|
Tristate |
PermissionHolder.hasPermission(Node node)
Checks to see if the object has a certain permission
|
Tristate |
PermissionHolder.hasPermission(Node node,
NodeEqualityPredicate equalityPredicate)
Checks to see if the object has a certain permission
|
Tristate |
PermissionHolder.hasTransientPermission(Node node)
Checks to see if the object has a certain permission
|
Tristate |
PermissionHolder.hasTransientPermission(Node node,
NodeEqualityPredicate equalityPredicate)
Checks to see if the object has a certain permission
|
Tristate |
PermissionHolder.inheritsPermission(Node node)
Checks to see if the object inherits a certain permission
|
Tristate |
PermissionHolder.inheritsPermission(Node node,
NodeEqualityPredicate equalityPredicate)
Checks to see if the object inherits a certain permission
|
abstract boolean |
ChatMetaType.matches(Node node)
Returns if the passed node matches the type
|
Node.Builder |
NodeFactory.newBuilderFromExisting(Node other)
Creates a node builder instance from an existing node
|
static Optional<ChatMetaType> |
ChatMetaType.ofNode(Node node)
Parses a ChatMetaType from the given node.
|
DataMutateResult |
PermissionHolder.setPermission(Node node)
Sets a permission for the object
|
default DataMutateResult |
PermissionHolder.setPermissionUnchecked(Node node)
Deprecated.
now forwards to
PermissionHolder.setPermission(Node). |
DataMutateResult |
PermissionHolder.setTransientPermission(Node node)
Sets a transient permission for the object
|
default DataMutateResult |
PermissionHolder.setTransientPermissionUnchecked(Node node)
Deprecated.
now forwards to
PermissionHolder.setTransientPermission(Node) |
boolean |
ChatMetaType.shouldIgnore(Node node)
Returns if the passed node should be ignored when searching for meta of this type
|
boolean |
Node.standardEquals(Node other,
StandardNodeEquality equalityPredicate)
Gets if this Node is equal to another node as defined by the given
StandardNodeEquality predicate. |
DataMutateResult |
PermissionHolder.unsetPermission(Node node)
Unsets a permission for the object
|
default DataMutateResult |
PermissionHolder.unsetPermissionUnchecked(Node node)
Deprecated.
now forwards to
PermissionHolder.unsetPermission(Node) |
DataMutateResult |
PermissionHolder.unsetTransientPermission(Node node)
Unsets a transient permission for the object
|
default DataMutateResult |
PermissionHolder.unsetTransientPermissionUnchecked(Node node)
Deprecated.
now forwards to
PermissionHolder.unsetTransientPermission(Node) |
| Modifier and Type | Method and Description |
|---|---|
void |
PermissionHolder.clearMatching(Predicate<Node> test)
Clears any nodes from the holder which pass the predicate
|
void |
PermissionHolder.clearMatchingTransient(Predicate<Node> test)
Clears any transient nodes from the holder which pass the predicate
|
| Modifier and Type | Method and Description |
|---|---|
Set<Node> |
GroupDeleteEvent.getExistingData()
Gets an immutable copy of the groups existing data
|
| Modifier and Type | Method and Description |
|---|---|
Node |
NodeRemoveEvent.getNode()
Gets the node that was removed
|
Node |
NodeAddEvent.getNode()
Gets the node that was added
|
| Modifier and Type | Method and Description |
|---|---|
Set<Node> |
NodeMutateEvent.getDataAfter()
Gets an immutable copy of the holders data after the change
|
Set<Node> |
NodeMutateEvent.getDataBefore()
Gets an immutable copy of the holders data before the change
|
Copyright © 2018. All rights reserved.