Package com.sk89q.worldedit.command.util
Class PermissionCondition
java.lang.Object
com.sk89q.worldedit.command.util.PermissionCondition
- All Implemented Interfaces:
org.enginehub.piston.Command.Condition
- Direct Known Subclasses:
SubCommandPermissionCondition
-
Field Summary
Fields inherited from interface org.enginehub.piston.Command.Condition
FALSE, TRUE
-
Constructor Summary
ConstructorDescriptionPermissionCondition
(Set<String> permissions) PermissionCondition
(Set<String> permissions, boolean queued) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.enginehub.piston.Command.Condition
and, as, not, or
-
Constructor Details
-
PermissionCondition
-
PermissionCondition
-
-
Method Details
-
getPermissions
-
satisfied
public boolean satisfied(org.enginehub.piston.inject.InjectedValueAccess context) - Specified by:
satisfied
in interfaceorg.enginehub.piston.Command.Condition
-
isQueued
public boolean isQueued()
-