Annotation Type Name


@Retention(RUNTIME) @Target(TYPE) public @interface Name
Defines the name of a CLI.
Author:
Clement Escoffier invalid input: '<'[email protected]>
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The command name.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The command priority.
  • Element Details

    • value

      String value
      The command name.
    • priority

      int priority
      The command priority. If more than 1 with same name are available on the classpath the one with highest priority replaces the existing.
      Default:
      0