Class AbstractSvnExecutor

java.lang.Object
com.atlassian.bamboo.repository.svn.v2.AbstractSvnExecutor
Direct Known Subclasses:
SvnBambooSpecsHandler, SvnBranchCreator, SvnBranchDetector, SvnChangeDetector, SvnConfigConverter, SvnConnectionTester, SvnTagCreator, SvnVariableGenerator, SvnWorkingCopyManager

public abstract class AbstractSvnExecutor extends Object
  • Field Details

  • Constructor Details

    • AbstractSvnExecutor

      public AbstractSvnExecutor()
  • Method Details

    • getSubstitutedAccessDataBuilder

      protected SvnRepositoryAccessData.Builder getSubstitutedAccessDataBuilder(@NotNull @NotNull VcsRepositoryData vcsRepositoryData)
    • getSubstitutedAccessData

      protected SvnRepositoryAccessData getSubstitutedAccessData(@NotNull @NotNull VcsRepositoryData vcsRepositoryData)
    • substituteString

      protected String substituteString(@Nullable @Nullable String stringWithValuesToSubstitute)
    • getSvnClientManager

      protected org.tmatesoft.svn.core.wc.SVNClientManager getSvnClientManager(@NotNull @NotNull SvnRepositoryAccessData substitutedAccessData)
      SVNClientManager factory.
      Returns:
      SVNClientManager appropriate for authorization mode
    • doInfo

      @NotNull protected @NotNull org.tmatesoft.svn.core.wc.SVNInfo doInfo(org.tmatesoft.svn.core.wc.SVNClientManager clientManager, org.tmatesoft.svn.core.SVNURL url, org.tmatesoft.svn.core.wc.SVNRevision revision, @NotNull @NotNull SvnRepositoryAccessData accessData) throws org.tmatesoft.svn.core.SVNException
      Runs 'svn info' operation on a given URL.
      Throws:
      org.tmatesoft.svn.core.SVNException
    • getCommits

      @NotNull protected @NotNull CommitExtractor getCommits(@NotNull @NotNull org.tmatesoft.svn.core.wc.SVNClientManager clientManager, @NotNull @NotNull org.tmatesoft.svn.core.SVNURL repositorySvnUrl, org.tmatesoft.svn.core.wc.SVNRevision startRevision, org.tmatesoft.svn.core.wc.SVNRevision endRevision, int maxCommitsToReturn) throws org.tmatesoft.svn.core.SVNException
      Throws:
      org.tmatesoft.svn.core.SVNException
    • getWorkingCopyFormatFromConfiguration

      protected SvnWcFormat getWorkingCopyFormatFromConfiguration()
    • extractTrustedKey

      @Nullable protected @Nullable TrustedKey extractTrustedKey(@NotNull @NotNull org.tmatesoft.svn.core.SVNException e)
    • copyRepository

      protected void copyRepository(org.tmatesoft.svn.core.wc.SVNClientManager clientManager, @NotNull @NotNull org.tmatesoft.svn.core.SVNURL fromUrl, @NotNull @NotNull org.tmatesoft.svn.core.wc.SVNRevision revision, @NotNull @NotNull org.tmatesoft.svn.core.SVNURL toUrl, @NotNull @NotNull BuildLogger buildLogger) throws org.tmatesoft.svn.core.SVNException
      Remote copy from fromURL in revision vcsRevisionKey to toURL
      Throws:
      org.tmatesoft.svn.core.SVNException
    • checkPathExists

      protected boolean checkPathExists(org.tmatesoft.svn.core.wc.SVNClientManager clientManager, org.tmatesoft.svn.core.SVNURL url)
    • getBranchDetectionRootUrl

      protected org.tmatesoft.svn.core.SVNURL getBranchDetectionRootUrl(org.tmatesoft.svn.core.wc.SVNClientManager clientManager, SvnRepositoryAccessData accessData) throws org.tmatesoft.svn.core.SVNException
      Throws:
      org.tmatesoft.svn.core.SVNException
    • getBranchRootUrl

      protected org.tmatesoft.svn.core.SVNURL getBranchRootUrl(org.tmatesoft.svn.core.wc.SVNClientManager clientManager, SvnRepositoryAccessData accessData) throws org.tmatesoft.svn.core.SVNException
      Throws:
      org.tmatesoft.svn.core.SVNException
    • getTagRootUrl

      protected org.tmatesoft.svn.core.SVNURL getTagRootUrl(org.tmatesoft.svn.core.wc.SVNClientManager clientManager, SvnRepositoryAccessData accessData) throws org.tmatesoft.svn.core.SVNException
      Throws:
      org.tmatesoft.svn.core.SVNException
    • svnUrltoVcsBranch

      @NotNull protected @NotNull VcsBranch svnUrltoVcsBranch(org.tmatesoft.svn.core.SVNURL svnurl, String repositoryUrl)