@Internal
public interface PlanVcsRevisionHistoryManager
Modifier and Type | Method and Description |
---|---|
void |
cleanupUnusedEntriesForPlan(@NotNull PlanKey planKey)
Removes history entries that are not used in change detection process.
|
void |
clearRevisionHistoryForPlanNewTx(@NotNull PlanKey planKey)
Removes all history entries for the plan.
|
@NotNull Map<Long,PlanVcsRevisionData> |
getLastVcsRevisionKeys(@NotNull PlanKey planKey)
Return the mapping between repository ids and strings representing the vcs revisions which were result of
last performed change detection.
|
@NotNull Map<Long,PlanVcsRevisionData> |
getLastVcsRevisionKeysBeforeBuildNumber(@NotNull PlanKey planKey,
int buildNumber)
Return the mapping between repository ids and strings representing the vcs revisions which were result of
last change detection performed before given build.
|
void |
markBuildStartedNewTx(@NotNull BuildContext buildContext)
Saves the information on started build in the plan's vcs revision history.
|
void |
markChangeDetectionCompletedNewTx(@NotNull PlanKey planKey,
int buildNumber,
@NotNull PlanVcsRevisionData vcsRevisionKey,
long repositoryId)
Saves the information on change detection result in the plan's vcs revision history.
|
void |
moveRevisionHistoryForPlan(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
@NotNull @NotNull Map<Long,PlanVcsRevisionData> getLastVcsRevisionKeys(@NotNull @NotNull PlanKey planKey)
@NotNull @NotNull Map<Long,PlanVcsRevisionData> getLastVcsRevisionKeysBeforeBuildNumber(@NotNull @NotNull PlanKey planKey, int buildNumber)
void markBuildStartedNewTx(@NotNull @NotNull BuildContext buildContext)
BuildContext
buildContext
- void markChangeDetectionCompletedNewTx(@NotNull @NotNull PlanKey planKey, int buildNumber, @NotNull @NotNull PlanVcsRevisionData vcsRevisionKey, long repositoryId)
planKey
- buildNumber
- vcsRevisionKey
- void clearRevisionHistoryForPlanNewTx(@NotNull @NotNull PlanKey planKey)
planKey
- void cleanupUnusedEntriesForPlan(@NotNull @NotNull PlanKey planKey)
planKey
- Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.