Annotation Interface Command


@Target(TYPE) @Retention(RUNTIME) public @interface Command
Represents a root command
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Command label
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Aliases for the command
  • Element Details

    • value

      String value
      Command label
    • aliases

      String[] aliases
      Aliases for the command
      Default:
      {}