Class SubversionSCMSource

java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.scm.api.SCMSource>
jenkins.scm.api.SCMSource
jenkins.scm.impl.subversion.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 Details

    • COMPARATOR

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

      public static final Logger LOGGER
  • Constructor Details

    • SubversionSCMSource

      @Deprecated public SubversionSCMSource(String id, String remoteBase, String credentialsId, String includes, String excludes)
      Deprecated.
    • SubversionSCMSource

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

    • 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)
    • getBrowser

      public SubversionRepositoryBrowser getBrowser()
      Gets the repository browser.
      Returns:
      the repository browser to use.
    • setBrowser

      @DataBoundSetter public void setBrowser(SubversionRepositoryBrowser browser)
    • 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
    • retrieve

      protected jenkins.scm.api.SCMRevision retrieve(String unparsedRevision, TaskListener listener, Item context) throws IOException, InterruptedException
      Overrides:
      retrieve in class jenkins.scm.api.SCMSource
      Throws:
      IOException
      InterruptedException
    • retrieveRevisions

      protected Set<String> retrieveRevisions(TaskListener listener, Item context) throws IOException, InterruptedException
      Overrides:
      retrieveRevisions in class jenkins.scm.api.SCMSource
      Throws:
      IOException
      InterruptedException
    • 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