public interface NodeMutateEvent extends LuckPermsEvent
| Modifier and Type | Method and Description |
|---|---|
Set<Node> |
getDataAfter()
Gets an immutable copy of the holders data after the change
|
Set<Node> |
getDataBefore()
Gets an immutable copy of the holders data before the change
|
PermissionHolder |
getTarget()
Gets the target of the event
|
boolean |
isGroup()
Gets whether the target of this event is a
Group |
boolean |
isUser()
Gets whether the target of this event is a
User |
getApi@Nonnull PermissionHolder getTarget()
@Nonnull Set<Node> getDataBefore()
@Nonnull Set<Node> getDataAfter()
boolean isUser()
User
This is equivalent to checking if getTarget() instanceof User
boolean isGroup()
Group
This is equivalent to checking if getTarget() instanceof Group
Copyright © 2018. All rights reserved.