Top Fields Constructors Methods
org.eclipse.jgit.pgm

pack-priv Class Fetch

extends AbstractFetchCommand
implements Callback
Class Inheritance
All Implemented Interfaces
org.eclipse.jgit.api.FetchCommand.Callback
Annotations
@Command
common:true
usage:usage_updateRemoteRefsFromAnotherRepository
Imports
java.io.IOException, java.text.MessageFormat, java.time.Instant, java.util.ArrayList, .List, org.eclipse.jgit.api.FetchCommand, .Git, org.eclipse.jgit.api.errors.GitAPIException, org.eclipse.jgit.lib.Constants, .SubmoduleConfig.FetchRecurseSubmodulesMode, .TextProgressMonitor, org.eclipse.jgit.pgm.internal.CLIText, org.eclipse.jgit.transport.FetchResult, .RefSpec, .TagOpt, org.kohsuke.args4j.Argument, .Option

Field Summary

Modifier and TypeField and Description
private Integer
private boolean
private Boolean
private Boolean
private Boolean
private Boolean
private SubmoduleConfig.FetchRecurseSubmodulesMode
private String
private List<String>
private Instant
private Boolean
private Boolean
pack-priv int
private List<RefSpec>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
fetchingSubmodule(String
the submodule name.
name
)

Implements org.eclipse.jgit.api.FetchCommand.Callback.fetchingSubmodule.

Notify fetching a submodule.

pack-priv void
nofsck(final boolean ignored)

pack-priv void
noRecurseSubmodules(final boolean ignored)

pack-priv void
notags(final boolean ignored)

pack-priv void
nothin(final boolean ignored)

pack-priv void
protected void
run()

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

Perform the actions of this command.

Inherited from org.eclipse.jgit.pgm.AbstractFetchCommand:
showFetchResultshowRemoteMessages

Field Detail

depthback to summary
private Integer depth
Annotations
@Option
name:--depth
metaVar:metaVar_depth
usage:usage_depth
dryRunback to summary
private boolean dryRun
Annotations
@Option
name:--dry-run
forceback to summary
private Boolean force
Annotations
@Option
name:--force
usage:usage_forcedFetch
aliases:-f
fsckback to summary
private Boolean fsck
Annotations
@Option
name:--fsck
usage:usage_performFsckStyleChecksOnReceive
pruneback to summary
private Boolean prune
Annotations
@Option
name:--prune
usage:usage_pruneStaleTrackingRefs
quietback to summary
private Boolean quiet
Annotations
@Option
name:--quiet
usage:usage_quiet
recurseSubmodulesback to summary
private SubmoduleConfig.FetchRecurseSubmodulesMode recurseSubmodules
remoteback to summary
private String remote
Annotations
@Argument
index:0
metaVar:metaVar_uriish
shallowExcludesback to summary
private List<String> shallowExcludes
Annotations
@Option
name:--shallow-exclude
metaVar:metaVar_shallowExclude
usage:usage_shallowExclude
shallowSinceback to summary
private Instant shallowSince
Annotations
@Option
name:--shallow-since
metaVar:metaVar_shallowSince
usage:usage_shallowSince
tagsback to summary
private Boolean tags
Annotations
@Option
name:--tags
usage:usage_tags
aliases:-t
thinback to summary
private Boolean thin
Annotations
@Option
name:--thin
usage:usage_fetchThinPack
timeoutback to summary
pack-priv int timeout
Annotations
@Option
name:--timeout
metaVar:metaVar_seconds
usage:usage_abortConnectionIfNoActivity
togetback to summary
private List<RefSpec> toget
Annotations
@Argument
index:1
metaVar:metaVar_refspec

Constructor Detail

Fetchback to summary
pack-priv Fetch()

Method Detail

fetchingSubmoduleback to summary
public void fetchingSubmodule(String name)

Implements org.eclipse.jgit.api.FetchCommand.Callback.fetchingSubmodule.

Doc from org.eclipse.jgit.api.FetchCommand.Callback.fetchingSubmodule.

Notify fetching a submodule.

Parameters
name:String

the submodule name.

Annotations
@Override
nofsckback to summary
pack-priv void nofsck(final boolean ignored)
Annotations
@Option
name:--no-fsck
noRecurseSubmodulesback to summary
pack-priv void noRecurseSubmodules(final boolean ignored)
Annotations
@Option
name:--no-recurse-submodules
usage:usage_noRecurseSubmodules
notagsback to summary
pack-priv void notags(final boolean ignored)
Annotations
@Option
name:--no-tags
usage:usage_notags
aliases:-n
nothinback to summary
pack-priv void nothin(final boolean ignored)
Annotations
@Option
name:--no-thin
recurseSubmodulesback to summary
pack-priv void recurseSubmodules(String mode)
Annotations
@Option
name:--recurse-submodules
usage:usage_recurseSubmodules
runback to summary
protected void run()

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