Annotation Interface ShellCommandGroup


@Retention(RUNTIME) @Target({PACKAGE,TYPE}) @Documented public @interface ShellCommandGroup
Used to indicate the default group of shell commands, either at the package or class level.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The default value for the group label, which when set on a class, will mean to look at the package level on a package, to go back at the class level and infer a name from the class name.
  • Field Details

    • INHERIT_AND_INFER

      static final String INHERIT_AND_INFER
      The default value for the group label, which when set
      • on a class, will mean to look at the package level
      • on a package, to go back at the class level and infer a name from the class name.
      See Also:
  • Element Details

    • value

      String value
      Returns:
      An explicit value for the group, which will apply to all commands in the owning class or package, depending on where this annotation is set.
      Default:
      ""