public class SvnChangeDetector extends AbstractSvnExecutor implements CommitsIsolatingVcsChangeDetector
customVariableContext, svnClientManagerFactory| Constructor and Description |
|---|
SvnChangeDetector() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull BuildRepositoryChanges |
collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData revisionData) |
@Nullable ContextualVcsId<VcsChangeDetector> |
getVcsIdForExecutor(@NotNull VcsRepositoryData vcsRepositoryData)
Returned id has to fulfill the following:
Given two VcsRepositoryData objects A and B, and executor e returning equal ContextualVcsId (in terms of equals()),
for any operation foo() provided by the executor,
the calls e::foo(A) and e::foo(B) should be equivalent.
|
@NotNull List<BuildRepositoryChanges> |
isolateCommits(@NotNull BuildRepositoryChanges changes,
@NotNull VcsRepositoryData vcsRepositoryData)
Break the single build changes object into a list of
BuildRepositoryChanges. |
checkPathExists, copyRepository, doInfo, extractTrustedKey, getBranchDetectionRootUrl, getBranchRootUrl, getCommits, getSubstitutedAccessData, getSubstitutedAccessDataBuilder, getSvnClientManager, getTagRootUrl, getWorkingCopyFormatFromConfiguration, substituteString, svnUrltoVcsBranchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollectChangesForInitialBuild@NotNull public @NotNull BuildRepositoryChanges collectChangesForRevision(@NotNull @NotNull PlanKey planKey, @NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull String customRevision) throws RepositoryException
collectChangesForRevision in interface VcsChangeDetectorRepositoryException@NotNull public @NotNull BuildRepositoryChanges collectChangesSinceRevision(@NotNull @NotNull PlanKey planKey, @NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull PlanVcsRevisionData revisionData) throws RepositoryException
collectChangesSinceRevision in interface VcsChangeDetectorRepositoryException@Nullable public @Nullable ContextualVcsId<VcsChangeDetector> getVcsIdForExecutor(@NotNull @NotNull VcsRepositoryData vcsRepositoryData)
IdentifyingExecutorVcsBranchDetector. If they also point
to the same branch, they are considered equal in context of VcsChangeDetectorgetVcsIdForExecutor in interface IdentifyingExecutor<VcsChangeDetector>@NotNull public @NotNull List<BuildRepositoryChanges> isolateCommits(@NotNull @NotNull BuildRepositoryChanges changes, @NotNull @NotNull VcsRepositoryData vcsRepositoryData)
CommitsIsolatingVcsChangeDetectorBuildRepositoryChanges. Must not be null. May return an empty
list but that doesn't actually make any sense. BuildRepositoryChanges
will be more likely to be built than lower changes, which may be discarded.isolateCommits in interface CommitsIsolatingVcsChangeDetectorCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.