Package org.eclipse.jgit.pgm
Class AbstractFetchCommand
- java.lang.Object
-
- org.eclipse.jgit.pgm.TextBuiltin
-
- org.eclipse.jgit.pgm.AbstractFetchCommand
-
abstract class AbstractFetchCommand extends TextBuiltin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException
-
-
Constructor Summary
Constructors Constructor Description AbstractFetchCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.lang.StringlongTypeOf(ObjectReader reader, TrackingRefUpdate u)private static java.lang.StringsafeAbbreviate(ObjectReader reader, ObjectId id)private static charshortTypeOf(RefUpdate.Result r)protected voidshowFetchResult(FetchResult r)Show fetch result.(package private) static voidshowRemoteMessages(ThrowingPrintWriter writer, java.lang.String pkt)-
Methods inherited from class org.eclipse.jgit.pgm.TextBuiltin
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepository, resolve, run, setCommandName
-
-
-
-
Method Detail
-
showFetchResult
protected void showFetchResult(FetchResult r) throws java.io.IOException
Show fetch result.- Parameters:
r- aFetchResultobject.- Throws:
java.io.IOException- if any.
-
showRemoteMessages
static void showRemoteMessages(ThrowingPrintWriter writer, java.lang.String pkt) throws java.io.IOException
- Throws:
java.io.IOException
-
longTypeOf
private static java.lang.String longTypeOf(ObjectReader reader, TrackingRefUpdate u)
-
safeAbbreviate
private static java.lang.String safeAbbreviate(ObjectReader reader, ObjectId id)
-
shortTypeOf
private static char shortTypeOf(RefUpdate.Result r)
-
-