Annotation Interface Permission


@Target({METHOD,TYPE}) @Retention(SOURCE) public @interface Permission
The annotation to apply a permission to a command or subcommand
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The permission literal that this argument represents
  • Element Details

    • value

      String value
      The permission literal that this argument represents
      Returns:
      the permission literal that this argument represents