Java org.eclipse.jgit.api FetchCommand fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.api FetchCommand fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.api FetchCommand.

The text is from its open source code.

Method

FetchResultcall()

Execute the fetch command with all the options and parameters collected by the setter methods of this class.

FetchCommandsetCheckFetchedObjects(boolean checkFetchedObjects)
If set to true , objects received will be checked for validity
FetchCommandsetDryRun(boolean dryRun)
Sets whether the fetch operation should be a dry run
FetchCommandsetProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the fetch operation.
FetchCommandsetRefSpecs(String... specs)
The ref specs to be used in the fetch operation
FetchCommandsetRefSpecs(RefSpec... specs)
The ref specs to be used in the fetch operation
FetchCommandsetRefSpecs(List specs)
The ref specs to be used in the fetch operation
FetchCommandsetRemote(String remote)
The remote (uri or name) used for the fetch operation.
FetchCommandsetRemoveDeletedRefs(boolean removeDeletedRefs)
If set to true , refs are removed which no longer exist in the source
FetchCommandsetTagOpt(TagOpt tagOpt)
Sets the specification of annotated tag behavior during fetch
FetchCommandsetThin(boolean thin)
Sets the thin-pack preference for fetch operation.