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