Annotation Interface Subcommand


@Target(METHOD) @Retention(SOURCE) public @interface Subcommand
The annotation to indicate that this method is a subcommand
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The names (and thus, aliases) of this subcommand
  • Element Details

    • value

      String[] value
      The names (and thus, aliases) of this subcommand
      Returns:
      the names that this subcommand produces