Example usage for Java org.eclipse.jgit.transport Transport fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | DEFAULT_FETCH_THIN Default setting for #fetchThin option. |
RefSpec | REFSPEC_TAGS Specification for fetch or push operations, to fetch or push all tags. |
RefSpec | REFSPEC_PUSH_ALL Specification for push operation, to push all refs under refs/heads. |
List | fetch Specifications to apply during fetch. |
List | push Specifications to apply during push. |
Transport(Repository local, URIish uri) Create a new transport instance. |
void | applyConfig(RemoteConfig cfg) Apply provided remote configuration on this transport. |
void | close() Close any resources used by this transport. |
Collection | findRemoteRefUpdatesFor(final Repository db, final Collection Convert push remote refs update specification from org.eclipse.jgit.transport.RefSpec form to org.eclipse.jgit.transport.RemoteRefUpdate . |
int | getTimeout() Get timeout (in seconds) before aborting an IO operation. |
List | getTransportProtocols() Obtain a copy of the registered protocols. |
URIish | getURI() Get the URI this transport connects to. |
boolean | isCheckFetchedObjects() Whether fetch will verify if received objects are formatted correctly. |
Transport | open(Repository local, String remote) Open a new transport instance to connect two repositories. |
Transport | open(Repository local, RemoteConfig cfg) Open a new transport instance to connect two repositories. |
Transport | open(Repository local, URIish uri) Open a new transport instance to connect two repositories. |
List | openAll(final Repository local, final String remote, final Operation op) Open new transport instances to connect two repositories. |
List | openAll(final Repository local, final RemoteConfig cfg, final Operation op) Open new transport instances to connect two repositories. |
FetchConnection | openFetch() Begins a new connection for fetching from the remote repository. |
PushConnection | openPush() Begins a new connection for pushing into the remote repository. |
void | register(TransportProtocol proto) Register a TransportProtocol instance for use during open. |
void | setCredentialsProvider(CredentialsProvider credentialsProvider) A credentials provider to assist with authentication connections.. |
void | setDryRun(boolean dryRun) Set dry run option for push operation. |
void | setOptionReceivePack(String optionReceivePack) Set remote executable providing receive-pack service for pack transports. |
void | setPushThin(boolean pushThin) Set thin-pack preference for push operation. |
void | setTagOpt(TagOpt option) Set the description of how annotated tags should be treated on fetch. |
void | setTimeout(int seconds) Set the timeout before willing to abort an IO call. |
void | unregister(TransportProtocol proto) Unregister a TransportProtocol instance. |