Class PermissionCondition

java.lang.Object
com.sk89q.worldedit.command.util.PermissionCondition
All Implemented Interfaces:
org.enginehub.piston.Command.Condition
Direct Known Subclasses:
SubCommandPermissionCondition

public class PermissionCondition extends Object implements org.enginehub.piston.Command.Condition
  • Constructor Details

    • PermissionCondition

      public PermissionCondition(Set<String> permissions)
    • PermissionCondition

      public PermissionCondition(Set<String> permissions, boolean queued)
  • Method Details

    • getPermissions

      public Set<String> getPermissions()
    • satisfied

      public boolean satisfied(org.enginehub.piston.inject.InjectedValueAccess context)
      Specified by:
      satisfied in interface org.enginehub.piston.Command.Condition
    • isQueued

      public boolean isQueued()