Class SubversionSCMSource.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<jenkins.scm.api.SCMSource>
jenkins.scm.api.SCMSourceDescriptor
jenkins.scm.impl.subversion.SubversionSCMSource.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster, IconSpec
Enclosing class:
SubversionSCMSource

@Extension public static class SubversionSCMSource.DescriptorImpl extends jenkins.scm.api.SCMSourceDescriptor
  • Field Details

  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<jenkins.scm.api.SCMSource>
    • doFillCredentialsIdItems

      public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String remoteBase, @QueryParameter String credentialsId)
      Stapler helper method.
      Parameters:
      context - the context.
      remoteBase - the remote base.
      Returns:
      list box model.
    • doCheckCredentialsId

      public FormValidation doCheckCredentialsId(org.kohsuke.stapler.StaplerRequest2 req, @AncestorInPath Item context, @QueryParameter String remoteBase, @QueryParameter String value)
      validate the value for a remote (repository) location.
    • checkRepositoryPath

      public org.tmatesoft.svn.core.SVNNodeKind checkRepositoryPath(org.tmatesoft.svn.core.SVNURL repoURL, com.cloudbees.plugins.credentials.common.StandardCredentials credentials) throws org.tmatesoft.svn.core.SVNException
      Throws:
      org.tmatesoft.svn.core.SVNException
    • getRepository

      protected org.tmatesoft.svn.core.io.SVNRepository getRepository(org.tmatesoft.svn.core.SVNURL repoURL, com.cloudbees.plugins.credentials.common.StandardCredentials credentials, Map<String,com.cloudbees.plugins.credentials.Credentials> additionalCredentials, org.tmatesoft.svn.core.io.ISVNSession session) throws org.tmatesoft.svn.core.SVNException
      Throws:
      org.tmatesoft.svn.core.SVNException
    • getRelativePath

      public static String getRelativePath(org.tmatesoft.svn.core.SVNURL repoURL, org.tmatesoft.svn.core.io.SVNRepository repository) throws org.tmatesoft.svn.core.SVNException
      Throws:
      org.tmatesoft.svn.core.SVNException
    • getWorkspaceUpdaterDescriptors

      public List<WorkspaceUpdaterDescriptor> getWorkspaceUpdaterDescriptors()
      Expose the WorkspaceUpdater instances to stapler.
      Returns:
      the WorkspaceUpdater instances
    • getBrowserDescriptors

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public List<Descriptor<RepositoryBrowser<?>>> getBrowserDescriptors()
      Expose the SubversionRepositoryBrowser instances to stapler.
      Returns:
      the SubversionRepositoryBrowser instances