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