Class PlexusInteractivityCredentialsProvider
- java.lang.Object
-
- org.eclipse.jgit.transport.CredentialsProvider
-
- org.apache.maven.scm.provider.git.jgit.command.PlexusInteractivityCredentialsProvider
-
public class PlexusInteractivityCredentialsProvider extends org.eclipse.jgit.transport.CredentialsProvider
CredentialsProvider
leveraging thePrompter
component.
-
-
Constructor Summary
Constructors Constructor Description PlexusInteractivityCredentialsProvider(org.codehaus.plexus.components.interactivity.Prompter prompter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
get(org.eclipse.jgit.transport.URIish uri, org.eclipse.jgit.transport.CredentialItem... items)
boolean
isInteractive()
void
setInteractive(boolean interactive)
boolean
supports(org.eclipse.jgit.transport.CredentialItem... items)
-
-
-
Constructor Detail
-
PlexusInteractivityCredentialsProvider
public PlexusInteractivityCredentialsProvider(org.codehaus.plexus.components.interactivity.Prompter prompter)
-
-
Method Detail
-
get
public boolean get(org.eclipse.jgit.transport.URIish uri, org.eclipse.jgit.transport.CredentialItem... items)
- Specified by:
get
in classorg.eclipse.jgit.transport.CredentialsProvider
-
setInteractive
public void setInteractive(boolean interactive)
-
isInteractive
public boolean isInteractive()
- Specified by:
isInteractive
in classorg.eclipse.jgit.transport.CredentialsProvider
-
supports
public boolean supports(org.eclipse.jgit.transport.CredentialItem... items)
- Specified by:
supports
in classorg.eclipse.jgit.transport.CredentialsProvider
-
-