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
class Fetch extends AbstractFetchCommand implements FetchCommand.Callback
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException
-
-
Field Summary
Fields Modifier and Type Field Description private booleandryRunprivate java.lang.Booleanforceprivate java.lang.Booleanfsckprivate java.lang.Booleanpruneprivate java.lang.Booleanquietprivate SubmoduleConfig.FetchRecurseSubmodulesModerecurseSubmodulesprivate java.lang.Stringremoteprivate java.lang.Booleantagsprivate java.lang.Booleanthin(package private) inttimeoutprivate java.util.List<RefSpec>toget
-
Constructor Summary
Constructors Constructor Description Fetch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfetchingSubmodule(java.lang.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(java.lang.String mode)protected voidrun()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 Detail
-
timeout
int timeout
-
fsck
private java.lang.Boolean fsck
-
prune
private java.lang.Boolean prune
-
dryRun
private boolean dryRun
-
thin
private java.lang.Boolean thin
-
quiet
private java.lang.Boolean quiet
-
tags
private java.lang.Boolean tags
-
force
private java.lang.Boolean force
-
recurseSubmodules
private SubmoduleConfig.FetchRecurseSubmodulesMode recurseSubmodules
-
remote
private java.lang.String remote
-
toget
private java.util.List<RefSpec> toget
-
-
Method Detail
-
nofsck
void nofsck(boolean ignored)
-
nothin
void nothin(boolean ignored)
-
notags
void notags(boolean ignored)
-
recurseSubmodules
void recurseSubmodules(java.lang.String mode)
-
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
public void fetchingSubmodule(java.lang.String name)
Notify fetching a submodule.- Specified by:
fetchingSubmodulein interfaceFetchCommand.Callback- Parameters:
name- the submodule name.
-
-