Java org.eclipse.jgit.transport RemoteConfig fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.transport RemoteConfig fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Field

StringDEFAULT_RECEIVE_PACK
Default value for #getReceivePack() if not specified.

Constructor

RemoteConfig(Config rc, String remoteName)
Parse a remote block from an existing configuration file.

Method

booleanaddFetchRefSpec(RefSpec s)
Add a new fetch RefSpec to this remote.
booleanaddPushRefSpec(RefSpec s)
Add a new push RefSpec to this remote.
booleanaddPushURI(URIish toAdd)
Add a new push-only URI to the end of the list of URIs.
booleanaddURI(URIish toAdd)
Add a new URI to the end of the list of URIs.
ListgetAllRemoteConfigs(Config rc)
Parse all remote blocks in an existing configuration file, looking for remotes configuration.
ListgetFetchRefSpecs()
Remembered specifications for fetching from a repository.
StringgetName()
Get the local name this remote configuration is recognized as.
ListgetPushRefSpecs()
Remembered specifications for pushing to a repository.
ListgetPushURIs()
Get all configured push-only URIs under this remote.
ListgetURIs()
Get all configured URIs under this remote.
booleanisMirror()
Whether pushing to the remote automatically deletes remote refs which don't exist on the source side.
booleanremoveFetchRefSpec(RefSpec s)
Remove a fetch RefSpec from this remote.
booleanremovePushRefSpec(RefSpec s)
Remove a push RefSpec from this remote.
booleanremovePushURI(URIish toRemove)
Remove a push-only URI from the list of URIs.
booleanremoveURI(URIish toRemove)
Remove a URI from the list of URIs.
voidsetFetchRefSpecs(List specs)
Override existing fetch specifications with new ones.
voidsetMirror(boolean m)
Set the mirror flag to automatically delete remote refs.
voidsetPushRefSpecs(List specs)
Override existing push specifications with new ones.
voidsetTagOpt(TagOpt option)
Set the description of how annotated tags should be treated on fetch.
voidupdate(Config rc)
Update this remote's definition within the configuration.