Package org.eclipse.jgit.pgm
Class Fetch
java.lang.Object
org.eclipse.jgit.pgm.TextBuiltin
org.eclipse.jgit.pgm.AbstractFetchCommand
org.eclipse.jgit.pgm.Fetch
- All Implemented Interfaces:
FetchCommand.Callback
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfetchingSubmodule(String name) Notify fetching a submodule.(package private) voidnofsck(boolean ignored) (package private) voidnoRecurseSubmodules(boolean ignored) (package private) voidnotags(boolean ignored) (package private) voidnothin(boolean ignored) (package private) voidrecurseSubmodules(String mode) protected voidrun()Perform the actions of this command.Methods inherited from class org.eclipse.jgit.pgm.AbstractFetchCommand
showFetchResult, showRemoteMessagesMethods 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, setCommandName
-
Field Details
-
timeout
int timeout -
fsck
-
prune
-
dryRun
private boolean dryRun -
thin
-
quiet
-
tags
-
force
-
recurseSubmodules
-
remote
-
toget
-
-
Constructor Details
-
Fetch
Fetch()
-
-
Method Details
-
nofsck
void nofsck(boolean ignored) -
nothin
void nothin(boolean ignored) -
notags
void notags(boolean ignored) -
recurseSubmodules
-
noRecurseSubmodules
void noRecurseSubmodules(boolean ignored) -
run
protected void run()Perform the actions of this command.This method should only be invoked by
TextBuiltin.execute(String[]).- Specified by:
runin classTextBuiltin
-
fetchingSubmodule
Notify fetching a submodule.- Specified by:
fetchingSubmodulein interfaceFetchCommand.Callback- Parameters:
name- the submodule name.
-