Interface PermissionHandler


public interface PermissionHandler
This is a functional interface to pass a callback that performs the permission check.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    check(CommandContext commandContext)
    Callback that performs the permission check.
  • Method Details

    • check

      void check(CommandContext commandContext)
      Callback that performs the permission check.
      Parameters:
      commandContext - can be used within the permission check