Groovy Documentation

org.ajoberstar.gradle.git.auth
[Java] Class JGitCredentialsProviderSupport

java.lang.Object
  org.ajoberstar.gradle.git.auth.JGitCredentialsProviderSupport

public class JGitCredentialsProviderSupport

Provides support for creating a JGitCredentialsProvider.

Since:
0.2.0


Constructor Summary
JGitCredentialsProviderSupport(AuthenticationSupported authSupport)

 
Method Summary
CredentialsProvider getCredentialsProvider()

Gets a credentials provider.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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()
 

Constructor Detail

JGitCredentialsProviderSupport

public JGitCredentialsProviderSupport(AuthenticationSupported authSupport)


 
Method Detail

getCredentialsProvider

public CredentialsProvider getCredentialsProvider()
Gets a credentials provider. If populated credentials are available, they will be used by the credentials provider. If not, the credentials provider will prompt for any needed credentials.
Returns:
a credentials provider


 

Groovy Documentation