Uses of Class
org.eclipse.jgit.api.FetchCommand
Packages that use FetchCommand
-
Uses of FetchCommand in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return FetchCommandModifier and TypeMethodDescriptionGit.fetch()
Return a command object to execute aFetch
commandFetchCommand.setCallback
(FetchCommand.Callback callback) Register a progress callback.FetchCommand.setCheckFetchedObjects
(boolean checkFetchedObjects) If set totrue
, objects received will be checked for validityFetchCommand.setDryRun
(boolean dryRun) Sets whether the fetch operation should be a dry runFetchCommand.setForceUpdate
(boolean force) Set fetch --force optionFetchCommand.setInitialBranch
(String branch) Set the initial branchFetchCommand.setProgressMonitor
(ProgressMonitor monitor) The progress monitor associated with the fetch operation.FetchCommand.setRecurseSubmodules
(SubmoduleConfig.FetchRecurseSubmodulesMode recurse) Set the mode to be used for recursing into submodules.FetchCommand.setRefSpecs
(String... specs) The ref specs to be used in the fetch operationFetchCommand.setRefSpecs
(List<RefSpec> specs) The ref specs to be used in the fetch operationFetchCommand.setRefSpecs
(RefSpec... specs) The ref specs to be used in the fetch operationThe remote (uri or name) used for the fetch operation.FetchCommand.setRemoveDeletedRefs
(boolean removeDeletedRefs) If set totrue
, refs are removed which no longer exist in the sourceSets the specification of annotated tag behavior during fetchFetchCommand.setThin
(boolean thin) Sets the thin-pack preference for fetch operation.