Package hudson.scm

Class SubversionSCM.DescriptorImpl.Credential

java.lang.Object
hudson.scm.SubversionSCM.DescriptorImpl.Credential
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SubversionSCM.DescriptorImpl.PasswordCredential, SubversionSCM.DescriptorImpl.SshPublicKeyCredential, SubversionSCM.DescriptorImpl.SslClientCertificateCredential
Enclosing class:
SubversionSCM.DescriptorImpl

public abstract static class SubversionSCM.DescriptorImpl.Credential extends Object implements Serializable
Stores SVNAuthentication for a single realm.

SubversionSCM.DescriptorImpl.Credential holds data in a persistence-friendly way, and it's capable of creating SVNAuthentication object, to be passed to SVNKit.

See Also:
  • Constructor Details

    • Credential

      public Credential()
  • Method Details

    • createSVNAuthentication

      public abstract org.tmatesoft.svn.core.auth.SVNAuthentication createSVNAuthentication(String kind) throws org.tmatesoft.svn.core.SVNException
      Parameters:
      kind - One of the constants defined in ISVNAuthenticationManager, indicating what subtype of SVNAuthentication is expected.
      Throws:
      org.tmatesoft.svn.core.SVNException
    • toCredentials

      public abstract com.cloudbees.plugins.credentials.common.StandardCredentials toCredentials(String description) throws IOException
      Throws:
      IOException
    • toCredentials

      public abstract com.cloudbees.plugins.credentials.common.StandardCredentials toCredentials(ModelObject context, String description) throws IOException
      Throws:
      IOException
    • findItemGroup

      protected ItemGroup findItemGroup(ModelObject context)