Annotation Interface Command


@Target(TYPE) @Retention(RUNTIME) public @interface Command
Annotation to mark a class for automatic command registration. Use the AutoCommandRegistrar to register value annotated with this.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The command(s) to register the command for.
  • Element Details

    • value

      String[] value
      The command(s) to register the command for.