@Internal
public interface PlanVcsRevisionHistoryService
Plan
Modifier and Type | Method and Description |
---|---|
void |
cleanupUnusedEntriesForPlan(PlanKey planKey)
Removes history entries that are not used in change detection process.
|
void |
clearRevisionHistoryForPlan(PlanKey planKey)
Removes all history entries for the plan.
|
PlanVcsRevisionDataSet |
getLastVcsRevisionKeys(PlanKey planKey)
Return the mapping between repository ids and strings representing the vcs revisions which were result of
last performed change detection.
|
void |
markBuildStarted(BuildContext buildContext)
Saves the information on started build in the plan's vcs revision history.
|
void |
markChangeDetectionCompleted(PlanKey planKey,
int buildNumber,
PlanVcsRevisionData revisionData,
long repositoryId)
Saves the information on change detection result in the plan's vcs revision history.
|
void |
moveRevisionHistoryForPlan(PlanKey originalPlanKey,
PlanKey planKey)
Moves history entries that are related to a moved plan.
|
@NotNull PlanVcsRevisionDataSet getLastVcsRevisionKeys(@NotNull PlanKey planKey)
void markChangeDetectionCompleted(@NotNull PlanKey planKey, int buildNumber, @NotNull PlanVcsRevisionData revisionData, long repositoryId)
planKey
- buildNumber
- void markBuildStarted(@NotNull BuildContext buildContext)
BuildContext
buildContext
- void clearRevisionHistoryForPlan(@NotNull PlanKey planKey)
planKey
- void cleanupUnusedEntriesForPlan(@NotNull PlanKey planKey)
planKey
- Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.