Uses of Class
org.eclipse.jgit.transport.RefSpec
-
Packages that use RefSpec Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).org.eclipse.jgit.lib Core API for repository, config, refs, object database.org.eclipse.jgit.transport Transport (fetch/push) for different protocols. -
-
Uses of RefSpec in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return types with arguments of type RefSpec Modifier and Type Method Description List<RefSpec>FetchCommand. getRefSpecs()Get list ofRefSpecsList<RefSpec>PushCommand. getRefSpecs()GetRefSpecs.Methods in org.eclipse.jgit.api with parameters of type RefSpec Modifier and Type Method Description FetchCommandFetchCommand. setRefSpecs(RefSpec... specs)The ref specs to be used in the fetch operationPushCommandPushCommand. setRefSpecs(RefSpec... specs)The ref specs to be used in the push operationMethod parameters in org.eclipse.jgit.api with type arguments of type RefSpec Modifier and Type Method Description FetchCommandFetchCommand. setRefSpecs(List<RefSpec> specs)The ref specs to be used in the fetch operationPushCommandPushCommand. setRefSpecs(List<RefSpec> specs)The ref specs to be used in the push operation -
Uses of RefSpec in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib that return types with arguments of type RefSpec Modifier and Type Method Description List<RefSpec>Config. getRefSpecs(String section, String subsection, String name)Parse a list ofRefSpecs from the configuration.List<RefSpec>DefaultTypedConfigGetter. getRefSpecs(Config config, String section, String subsection, String name)List<RefSpec>TypedConfigGetter. getRefSpecs(Config config, String section, String subsection, String name) -
Uses of RefSpec in org.eclipse.jgit.transport
Fields in org.eclipse.jgit.transport declared as RefSpec Modifier and Type Field Description static RefSpecTransport. REFSPEC_PUSH_ALLSpecification for push operation, to push all refs under refs/heads.static RefSpecTransport. REFSPEC_TAGSSpecification for fetch or push operations, to fetch or push all tags.Methods in org.eclipse.jgit.transport that return RefSpec Modifier and Type Method Description RefSpecRefSpec. expandFromDestination(String r)Expand this specification to exactly match a ref name.RefSpecRefSpec. expandFromDestination(Ref r)Expand this specification to exactly match a ref.RefSpecRefSpec. expandFromSource(String r)Expand this specification to exactly match a ref name.RefSpecRefSpec. expandFromSource(Ref r)Expand this specification to exactly match a ref.RefSpecRefSpec. setDestination(String destination)Create a new RefSpec with a different destination name setting.RefSpecRefSpec. setForceUpdate(boolean forceUpdate)Create a new RefSpec with a different force update setting.RefSpecRefSpec. setSource(String source)Create a new RefSpec with a different source name setting.RefSpecRefSpec. setSourceDestination(String source, String destination)Create a new RefSpec with a different source/destination name setting.Methods in org.eclipse.jgit.transport that return types with arguments of type RefSpec Modifier and Type Method Description List<RefSpec>RemoteConfig. getFetchRefSpecs()Remembered specifications for fetching from a repository.List<RefSpec>RemoteConfig. getPushRefSpecs()Remembered specifications for pushing to a repository.Methods in org.eclipse.jgit.transport with parameters of type RefSpec Modifier and Type Method Description booleanRemoteConfig. addFetchRefSpec(RefSpec s)Add a new fetch RefSpec to this remote.booleanRemoteConfig. addPushRefSpec(RefSpec s)Add a new push RefSpec to this remote.booleanRemoteConfig. removeFetchRefSpec(RefSpec s)Remove a fetch RefSpec from this remote.booleanRemoteConfig. removePushRefSpec(RefSpec s)Remove a push RefSpec from this remote.Method parameters in org.eclipse.jgit.transport with type arguments of type RefSpec Modifier and Type Method Description FetchResultTransport. fetch(ProgressMonitor monitor, Collection<RefSpec> toFetch)Fetch objects and refs from the remote repository to the local one.FetchResultTransport. fetch(ProgressMonitor monitor, Collection<RefSpec> toFetch, String branch)Fetch objects and refs from the remote repository to the local one.Collection<RemoteRefUpdate>Transport. findRemoteRefUpdatesFor(Collection<RefSpec> specs)Convert push remote refs update specification fromRefSpecform toRemoteRefUpdate.Collection<RemoteRefUpdate>Transport. findRemoteRefUpdatesFor(Collection<RefSpec> specs, Map<String,RefLeaseSpec> leases)Convert push remote refs update specification fromRefSpecform toRemoteRefUpdate.static Collection<RemoteRefUpdate>Transport. findRemoteRefUpdatesFor(Repository db, Collection<RefSpec> specs, Collection<RefSpec> fetchSpecs)Convert push remote refs update specification fromRefSpecform toRemoteRefUpdate.static Collection<RemoteRefUpdate>Transport. findRemoteRefUpdatesFor(Repository db, Collection<RefSpec> specs, Map<String,RefLeaseSpec> leases, Collection<RefSpec> fetchSpecs)Convert push remote refs update specification fromRefSpecform toRemoteRefUpdate.FetchConnectionTransport. openFetch(Collection<RefSpec> refSpecs, String... additionalPatterns)Begins a new connection for fetching from the remote repository.FetchConnectionTransportGitSsh. openFetch(Collection<RefSpec> refSpecs, String... additionalPatterns)FetchConnectionTransportHttp. openFetch(Collection<RefSpec> refSpecs, String... additionalPatterns)voidRemoteConfig. setFetchRefSpecs(List<RefSpec> specs)Override existing fetch specifications with new ones.voidRemoteConfig. setPushRefSpecs(List<RefSpec> specs)Override existing push specifications with new ones.
-