Package org.eclipse.jgit.pgm
Annotation Type Command
-
@Retention(RUNTIME) @Target(TYPE) public @interface Command
Annotation to document aTextBuiltin
.This is an optional annotation for TextBuiltin subclasses and it carries documentation forward into the runtime system describing what the command is and why users may want to invoke it.
-
-
Element Detail
-
name
String name
Get the command name- Returns:
- name the command is invoked as from the command line. If the (default) empty string is supplied the name will be generated from the class name.
- Default:
- ""
-
-
-
usage
String usage
Get command description- Returns:
- one line description of the command's feature set.
- Default:
- ""
-
-