public interface VcsChangeDetector extends IdentifyingExecutor
Modifier and Type | Method and Description |
---|---|
default BuildRepositoryChanges |
collectChangesForInitialBuild(PlanKey planKey,
VcsRepositoryData repositoryData,
VcsBranch otherBranch,
boolean otherBranchUnreliable)
This method is used to generate the list of commits for an initial build of a plan branch.
|
BuildRepositoryChanges |
collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
getVcsIdForExecutor
@NotNull BuildRepositoryChanges collectChangesSinceRevision(@NotNull PlanKey planKey, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData lastRevisionData) throws RepositoryException
RepositoryException
@NotNull BuildRepositoryChanges collectChangesForRevision(@NotNull PlanKey planKey, @NotNull VcsRepositoryData repositoryData, @NotNull String customRevision) throws RepositoryException
RepositoryException
default BuildRepositoryChanges collectChangesForInitialBuild(@NotNull PlanKey planKey, @NotNull VcsRepositoryData repositoryData, @Nullable VcsBranch otherBranch, boolean otherBranchUnreliable) throws RepositoryException
otherBranch
- branch that can be used as reference when generating the commit list. Guaranteed to be not null if the repository type supports branches.otherBranchUnreliable
- indicates that 'otherBranch' is not a reliable reference pointRepositoryException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.