Interface PermissionHandler


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

      • check

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