Class SubversionSCMSource.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • 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.StaplerRequest 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