org.eclipse.jgit.pgm.TextBuiltin
subclass).
These descriptions are lightweight compared to creating a command instance and are therefore suitable for catalogs of "known" commands without linking the command's implementation and creating a dummy instance of the command.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| private final Class | |
| private final String | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public TextBuiltin | Returns: a new instance of the command implementation.Create an instance of the command implementation |
| public ClassLoader | Returns: loader forgetImplementationClassName().Get implementation class loader |
| public String | Returns: name of the Java class which implements this command.Get implementation class name |
| public String | |
| public String | |
| private static String | |
| public boolean | Returns: true if this command is considered to be commonly used.Is this command commonly used |
| public String |
| common | back to summary |
|---|---|
| pack-priv boolean common | |
| impl | back to summary |
|---|---|
| private final Class<? extends TextBuiltin> impl | |
| name | back to summary |
|---|---|
| private final String name | |
| usage | back to summary |
|---|---|
| private String usage | |
| CommandRef | back to summary |
|---|---|
| pack-priv CommandRef(Class<? extends TextBuiltin> clazz) | |
| CommandRef | back to summary |
|---|---|
| pack-priv CommandRef(Class<? extends TextBuiltin> clazz, Command cmd) | |
| CommandRef | back to summary |
|---|---|
| private CommandRef(Class<? extends TextBuiltin> clazz, String cn) | |
| create | back to summary |
|---|---|
| public TextBuiltin create() Create an instance of the command implementation
| |
| getImplementationClassLoader | back to summary |
|---|---|
| public ClassLoader getImplementationClassLoader() Get implementation class loader
| |
| getImplementationClassName | back to summary |
|---|---|
| public String getImplementationClassName() Get implementation class name
| |
| getName | back to summary |
|---|---|
| public String getName() Get the
| |
| getUsage | back to summary |
|---|---|
| public String getUsage() Get
| |
| guessName | back to summary |
|---|---|
| private static String guessName(Class<? extends TextBuiltin> clazz) | |
| isCommon | back to summary |
|---|---|
| public boolean isCommon() Is this command commonly used
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |