org.eclipse.jgit.console
Class ConsoleCredentialsProvider
java.lang.Object
org.eclipse.jgit.transport.CredentialsProvider
org.eclipse.jgit.console.ConsoleCredentialsProvider
public class ConsoleCredentialsProvider
- extends CredentialsProvider
Interacts with the user during authentication by using the text console.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleCredentialsProvider
public ConsoleCredentialsProvider()
install
public static void install()
- Install this implementation as the default.
isInteractive
public boolean isInteractive()
- Specified by:
isInteractive
in class CredentialsProvider
supports
public boolean supports(CredentialItem... items)
- Specified by:
supports
in class CredentialsProvider
get
public boolean get(URIish uri,
CredentialItem... items)
throws UnsupportedCredentialItem
- Specified by:
get
in class CredentialsProvider
- Throws:
UnsupportedCredentialItem
Copyright © 2011. All Rights Reserved.