Class SubversionSCMSource

  • All Implemented Interfaces:
    ExtensionPoint, Describable<jenkins.scm.api.SCMSource>

    public class SubversionSCMSource
    extends jenkins.scm.api.SCMSource
    A SCMSource for Subversion.
    Author:
    Stephen Connolly
    • Field Detail

      • COMPARATOR

        public static final jenkins.scm.impl.subversion.SubversionSCMSource.StringListComparator COMPARATOR
      • LOGGER

        public static final Logger LOGGER
    • Constructor Detail

      • SubversionSCMSource

        @DataBoundConstructor
        public SubversionSCMSource​(String id,
                                   String remoteBase)
    • Method Detail

      • getCredentialsId

        public String getCredentialsId()
        Gets the credentials id.
        Returns:
        the credentials id.
      • setCredentialsId

        @DataBoundSetter
        public void setCredentialsId​(String credentialsId)
      • getExcludes

        public String getExcludes()
        Gets the comma separated list of exclusions.
        Returns:
        the comma separated list of exclusions.
      • setExcludes

        @DataBoundSetter
        public void setExcludes​(String excludes)
      • getIncludes

        public String getIncludes()
        Gets the comma separated list of inclusions.
        Returns:
        the comma separated list of inclusions.
      • setIncludes

        @DataBoundSetter
        public void setIncludes​(String includes)
      • getWorkspaceUpdater

        public WorkspaceUpdater getWorkspaceUpdater()
        Gets the workspace updater strategy.
        Returns:
        the workspace updater to use.
      • setWorkspaceUpdater

        @DataBoundSetter
        public void setWorkspaceUpdater​(WorkspaceUpdater workspaceUpdater)
      • getRemoteBase

        public String getRemoteBase()
        Gets the base SVN URL of the project.
        Returns:
        the base SVN URL of the project.
      • getUuid

        @CheckForNull
        public String getUuid()
      • retrieve

        @NonNull
        protected void retrieve​(@CheckForNull
                                jenkins.scm.api.SCMSourceCriteria criteria,
                                @NonNull
                                jenkins.scm.api.SCMHeadObserver observer,
                                @CheckForNull
                                jenkins.scm.api.SCMHeadEvent<?> event,
                                @NonNull
                                TaskListener listener)
                         throws IOException,
                                InterruptedException
        Specified by:
        retrieve in class jenkins.scm.api.SCMSource
        Throws:
        IOException
        InterruptedException
      • retrieve

        protected jenkins.scm.api.SCMRevision retrieve​(@NonNull
                                                       jenkins.scm.api.SCMHead head,
                                                       @NonNull
                                                       TaskListener listener)
                                                throws IOException
        Overrides:
        retrieve in class jenkins.scm.api.SCMSource
        Throws:
        IOException
      • build

        @NonNull
        public SubversionSCM build​(@NonNull
                                   jenkins.scm.api.SCMHead head,
                                   @CheckForNull
                                   jenkins.scm.api.SCMRevision revision)
        Specified by:
        build in class jenkins.scm.api.SCMSource