GitCommand
GitCommand's call() method
org.eclipse.jgit.transport.Transport during execution.
This class provides standard configuration of a transport for options such as
a org., a timeout, and a
org..
| Modifier and Type | Field and Description |
|---|---|
| protected CredentialsProvider | credentialsProvider
Configured credentials provider |
| protected int | timeout
Configured transport timeout |
| protected TransportConfigCallback | transportConfigCallback
Configured callback for transport configuration |
| Access | Constructor and Description |
|---|---|
| protected | TransportCommand(Repository
a repo)org. object.Constructor for TransportCommand. |
| Modifier and Type | Method and Description |
|---|---|
| protected C | Returns: thisa transport)org. object.Configure transport with credentials provider, timeout, and config callback |
| protected C | Returns: thisa childCommand)org. object.Configure a child command with the current configuration set in
|
| protected final C | |
| public C | Returns: thisSet the |
| public C | Returns: thisthe timeout (in seconds) used for the transport step timeout)Set |
| public C | Returns: thisif set, the callback will be invoked after the
transportConfigCallback)org. has created, but
before the org. is
used. The callback can use this opportunity to set additional
type-specific configuration on the
org. instance.Set the |
| credentialsProvider | back to summary |
|---|---|
| protected CredentialsProvider credentialsProvider Configured credentials provider | |
| timeout | back to summary |
|---|---|
| protected int timeout Configured transport timeout | |
| transportConfigCallback | back to summary |
|---|---|
| protected TransportConfigCallback transportConfigCallback Configured callback for transport configuration | |
| TransportCommand | back to summary |
|---|---|
| protected TransportCommand(Repository repo) Constructor for TransportCommand.
| |
| configure | back to summary |
|---|---|
| protected C configure(Transport transport) Configure transport with credentials provider, timeout, and config callback
| |
| configure | back to summary |
|---|---|
| protected C configure(TransportCommand<C extends GitCommand<T>, T> childCommand) Configure a child command with the current configuration set in
| |
| self | back to summary |
|---|---|
| protected final C self() Return this command cast to
| |
| setCredentialsProvider | back to summary |
|---|---|
| public C setCredentialsProvider(final CredentialsProvider credentialsProvider) Set the
| |
| setTimeout | back to summary |
|---|---|
| public C setTimeout(int timeout) Set
| |
| setTransportConfigCallback | back to summary |
|---|---|
| public C setTransportConfigCallback(final TransportConfigCallback transportConfigCallback) Set the
| |