|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ajoberstar.gradle.git.auth.TransportAuthUtil
public class TransportAuthUtil
Utility methods to configure a Git task that uses a TransportCommand with authentication information.
Method Summary | |
---|---|
static void
|
configure(TransportCommand command, AuthenticationSupported auth)
Configures command to use the credentials from auth, if available, and also support use of ssh-agent and Pageant. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
public static void configure(TransportCommand command, AuthenticationSupported auth)
command
- the transport command to configureauth
- the task with the credentials to use
Groovy Documentation