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 the Prompter component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlexusInteractivityCredentialsProvider(org.codehaus.plexus.components.interactivity.Prompter prompter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    get(org.eclipse.jgit.transport.URIish uri, org.eclipse.jgit.transport.CredentialItem... items)
     
    boolean
     
    void
    setInteractive(boolean interactive)
     
    boolean
    supports(org.eclipse.jgit.transport.CredentialItem... items)
     

    Methods inherited from class org.eclipse.jgit.transport.CredentialsProvider

    get, getDefault, isAnyNull, reset, setDefault

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • get

      public boolean get(org.eclipse.jgit.transport.URIish uri, org.eclipse.jgit.transport.CredentialItem... items)
      Specified by:
      get in class org.eclipse.jgit.transport.CredentialsProvider
    • setInteractive

      public void setInteractive(boolean interactive)
    • isInteractive

      public boolean isInteractive()
      Specified by:
      isInteractive in class org.eclipse.jgit.transport.CredentialsProvider
    • supports

      public boolean supports(org.eclipse.jgit.transport.CredentialItem... items)
      Specified by:
      supports in class org.eclipse.jgit.transport.CredentialsProvider