Annotation Interface Invokable


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface Invokable
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Aliases are additional commands that point to this same method, but with a different name.
    This string is primarily used to get the details of a command in order to display a "helpful" message about it.
  • Element Details

    • aliases

      String[] aliases
      Aliases are additional commands that point to this same method, but with a different name. This functionality should be avoided as much as possible if there can be aliasing duplications.
      Default:
      {}
    • commandDescription

      String commandDescription
      This string is primarily used to get the details of a command in order to display a "helpful" message about it.
      Default:
      ""