Package org.geysermc.geyser.command
Class GeyserPermission.Result
java.lang.Object
org.geysermc.geyser.command.GeyserPermission.Result
- All Implemented Interfaces:
org.incendo.cloud.permission.PermissionResult
- Enclosing class:
GeyserPermission
public final class GeyserPermission.Result
extends Object
implements org.incendo.cloud.permission.PermissionResult
Basic implementation of cloud's
PermissionResult that delegates to the more informative GeyserPermission.Result.Meta.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumMore detailed explanation of whether the permission check passed. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.incendo.cloud.permission.PermissionResult
denied
-
Method Details
-
meta
-
allowed
public boolean allowed()- Specified by:
allowedin interfaceorg.incendo.cloud.permission.PermissionResult
-
permission
public @NonNull org.incendo.cloud.permission.Permission permission()- Specified by:
permissionin interfaceorg.incendo.cloud.permission.PermissionResult
-