Example usage for Java org.eclipse.jgit.transport RemoteConfig fields, constructors, methods, implement or subclass
The text is from its open source code.
String | DEFAULT_RECEIVE_PACK Default value for #getReceivePack() if not specified. |
RemoteConfig(Config rc, String remoteName) Parse a remote block from an existing configuration file. |
boolean | addFetchRefSpec(RefSpec s) Add a new fetch RefSpec to this remote. |
boolean | addPushRefSpec(RefSpec s) Add a new push RefSpec to this remote. |
boolean | addPushURI(URIish toAdd) Add a new push-only URI to the end of the list of URIs. |
boolean | addURI(URIish toAdd) Add a new URI to the end of the list of URIs. |
List | getAllRemoteConfigs(Config rc) Parse all remote blocks in an existing configuration file, looking for remotes configuration. |
List | getFetchRefSpecs() Remembered specifications for fetching from a repository. |
String | getName() Get the local name this remote configuration is recognized as. |
List | getPushRefSpecs() Remembered specifications for pushing to a repository. |
List | getPushURIs() Get all configured push-only URIs under this remote. |
List | getURIs() Get all configured URIs under this remote. |
boolean | isMirror() Whether pushing to the remote automatically deletes remote refs which don't exist on the source side. |
boolean | removeFetchRefSpec(RefSpec s) Remove a fetch RefSpec from this remote. |
boolean | removePushRefSpec(RefSpec s) Remove a push RefSpec from this remote. |
boolean | removePushURI(URIish toRemove) Remove a push-only URI from the list of URIs. |
boolean | removeURI(URIish toRemove) Remove a URI from the list of URIs. |
void | setFetchRefSpecs(List Override existing fetch specifications with new ones. |
void | setMirror(boolean m) Set the mirror flag to automatically delete remote refs. |
void | setPushRefSpecs(List Override existing push specifications with new ones. |
void | setTagOpt(TagOpt option) Set the description of how annotated tags should be treated on fetch. |
void | update(Config rc) Update this remote's definition within the configuration. |