Top Inners Fields Constructors Methods
org.eclipse.jgit.pgm.debug

pack-priv Class ShowCommands

extends TextBuiltin
Class Inheritance
Annotations
@Command
usage:usage_displayAListOfAllRegisteredJgitCommands
Imports
java.io.IOException, java.net.URL, org.eclipse.jgit.pgm.Command, .CommandCatalog, .CommandRef, .TextBuiltin, org.eclipse.jgit.pgm.internal.CLIText, org.eclipse.jgit.util.io.ThrowingPrintWriter, org.kohsuke.args4j.Option

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static enum

Field Summary

Modifier and TypeField and Description
private ShowCommands.Format
Inherited from org.eclipse.jgit.pgm.TextBuiltin:
argWalkdberrserrwgitdirinsoutsoutw

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected void
run()

Implements abstract org.eclipse.jgit.pgm.TextBuiltin.run.

Perform the actions of this command.

Inherited from org.eclipse.jgit.pgm.TextBuiltin:
containsHelpdiediediedieexecutegetErrorWritergetOutputWritergetRepositorygetResourceBundleinitinitRawparseArgumentsprintUsageprintUsageAndExitprintUsageAndExitrequiresRepository

Field Detail

prettyback to summary
private ShowCommands.Format pretty
Annotations
@Option
name:--pretty
metaVar:metaVar_commandDetail
usage:usage_alterTheDetailShown

Constructor Detail

ShowCommandsback to summary
pack-priv ShowCommands()

Method Detail

runback to summary
protected void run() throws Exception

Implements abstract org.eclipse.jgit.pgm.TextBuiltin.run.

Doc from org.eclipse.jgit.pgm.TextBuiltin.run.

Perform the actions of this command.

This method should only be invoked by execute(String[]).

Annotations
@Override
Exceptions
Exception:
an error occurred while processing the command. The main framework will catch the exception and print a message on standard error.
org.eclipse.jgit.pgm.debug back to summary

pack-priv sealed Enum ShowCommands.Format

extends Enum<ShowCommands.Format>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final ShowCommands.Format
CLASSES

Get implementation class name

public static final ShowCommands.Format
URLS

Get URL of implementation class

public static final ShowCommands.Format
USAGE

Get usage

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv abstract void
public static ShowCommands.Format
public static ShowCommands.Format[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CLASSESback to summary
public static final ShowCommands.Format CLASSES

Get implementation class name

URLSback to summary
public static final ShowCommands.Format URLS

Get URL of implementation class

USAGEback to summary
public static final ShowCommands.Format USAGE

Get usage

Constructor Detail

Formatback to summary
private Format()

Method Detail

printback to summary
pack-priv abstract void print(ThrowingPrintWriter err, CommandRef c) throws IOException
valueOfback to summary
public static ShowCommands.Format valueOf(String name)
valuesback to summary
public static ShowCommands.Format[] values()