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 TypeMethodDescriptionvoid
fetchingSubmodule
(String name) Notify fetching a submodule.(package private) void
nofsck
(boolean ignored) (package private) void
noRecurseSubmodules
(boolean ignored) (package private) void
notags
(boolean ignored) (package private) void
nothin
(boolean ignored) (package private) void
recurseSubmodules
(String mode) protected void
run()
Perform the actions of this command.Methods inherited from class org.eclipse.jgit.pgm.AbstractFetchCommand
showFetchResult, showRemoteMessages
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, 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:
run
in classTextBuiltin
-
fetchingSubmodule
Notify fetching a submodule.- Specified by:
fetchingSubmodule
in interfaceFetchCommand.Callback
- Parameters:
name
- the submodule name.
-