public class PassphraseCredentialsProvider
extends org.eclipse.jgit.transport.CredentialsProvider
CredentialsProvider
that takes in a passphrase.Constructor and Description |
---|
PassphraseCredentialsProvider(String passphrase)
Constructs the provider using a given passphrase.
|
Modifier and Type | Method and Description |
---|---|
boolean |
get(org.eclipse.jgit.transport.URIish uriish,
org.eclipse.jgit.transport.CredentialItem... items) |
boolean |
isInteractive()
This provider does not interact with the user, it pulls directly from the
value that was set in the constructor.
|
boolean |
supports(org.eclipse.jgit.transport.CredentialItem... items) |
public PassphraseCredentialsProvider(String passphrase)
passphrase
- passphrasepublic boolean get(org.eclipse.jgit.transport.URIish uriish, org.eclipse.jgit.transport.CredentialItem... items)
get
in class org.eclipse.jgit.transport.CredentialsProvider
public boolean isInteractive()
isInteractive
in class org.eclipse.jgit.transport.CredentialsProvider
false
public boolean supports(org.eclipse.jgit.transport.CredentialItem... items)
supports
in class org.eclipse.jgit.transport.CredentialsProvider
true
when items contains a CredentialItem
.StringTypeCopyright © 2012–2014 Trajano. All rights reserved.