Annotation Interface Command


@Target(METHOD) @Retention(RUNTIME) public @interface Command
Annotation for creating commands.
Author:
mlaroche
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The handle to call the command.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
     
  • Element Details

    • handle

      String handle
      The handle to call the command.
      Returns:
      the handle
    • description

      String description
      Default:
      ""
    • questions

      String[] questions
      Default:
      {}