Class AbstractSvnExecutor
java.lang.Object
com.atlassian.bamboo.repository.svn.v2.AbstractSvnExecutor
- Direct Known Subclasses:
SvnBambooSpecsHandler,SvnBranchCreator,SvnBranchDetector,SvnChangeDetector,SvnConnectionTester,SvnTagCreator,SvnVariableGenerator,SvnWorkingCopyManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CustomVariableContextprotected SVNClientManagerFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckPathExists(org.tmatesoft.svn.core.wc.SVNClientManager clientManager, org.tmatesoft.svn.core.SVNURL url) protected voidcopyRepository(org.tmatesoft.svn.core.wc.SVNClientManager clientManager, @NotNull org.tmatesoft.svn.core.SVNURL fromUrl, @NotNull org.tmatesoft.svn.core.wc.SVNRevision revision, @NotNull org.tmatesoft.svn.core.SVNURL toUrl, @NotNull BuildLogger buildLogger) Remote copy from fromURL in revision vcsRevisionKey to toURLprotected @NotNull org.tmatesoft.svn.core.wc.SVNInfodoInfo(org.tmatesoft.svn.core.wc.SVNClientManager clientManager, org.tmatesoft.svn.core.SVNURL url, org.tmatesoft.svn.core.wc.SVNRevision revision, @NotNull SvnRepositoryAccessData accessData) Runs 'svn info' operation on a given URL.protected @Nullable TrustedKeyextractTrustedKey(@NotNull org.tmatesoft.svn.core.SVNException e) protected org.tmatesoft.svn.core.SVNURLgetBranchDetectionRootUrl(org.tmatesoft.svn.core.wc.SVNClientManager clientManager, SvnRepositoryAccessData accessData) protected org.tmatesoft.svn.core.SVNURLgetBranchRootUrl(org.tmatesoft.svn.core.wc.SVNClientManager clientManager, SvnRepositoryAccessData accessData) protected @NotNull CommitExtractorgetCommits(@NotNull org.tmatesoft.svn.core.wc.SVNClientManager clientManager, @NotNull org.tmatesoft.svn.core.SVNURL repositorySvnUrl, org.tmatesoft.svn.core.wc.SVNRevision startRevision, org.tmatesoft.svn.core.wc.SVNRevision endRevision, int maxCommitsToReturn) protected SvnRepositoryAccessDatagetSubstitutedAccessData(@NotNull VcsRepositoryData vcsRepositoryData) protected SvnRepositoryAccessData.BuildergetSubstitutedAccessDataBuilder(@NotNull VcsRepositoryData vcsRepositoryData) protected org.tmatesoft.svn.core.wc.SVNClientManagergetSvnClientManager(@NotNull SvnRepositoryAccessData substitutedAccessData) SVNClientManager factory.protected org.tmatesoft.svn.core.SVNURLgetTagRootUrl(org.tmatesoft.svn.core.wc.SVNClientManager clientManager, SvnRepositoryAccessData accessData) protected SvnWcFormatprotected StringsubstituteString(@Nullable String stringWithValuesToSubstitute) protected @NotNull VcsBranchsvnUrltoVcsBranch(org.tmatesoft.svn.core.SVNURL svnurl, String repositoryUrl)
-
Field Details
-
customVariableContext
-
svnClientManagerFactory
-
-
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
-
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
-
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
-