public class PlanVcsRevisionHistoryServiceImpl extends Object implements PlanVcsRevisionHistoryService
Constructor and Description |
---|
PlanVcsRevisionHistoryServiceImpl(@NotNull PlanVcsRevisionHistoryManager planVcsRevisionHistoryManager) |
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 planVcsRevisionData,
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.
|
public PlanVcsRevisionHistoryServiceImpl(@NotNull @NotNull PlanVcsRevisionHistoryManager planVcsRevisionHistoryManager)
@NotNull public @NotNull PlanVcsRevisionDataSet getLastVcsRevisionKeys(@NotNull @NotNull PlanKey planKey)
PlanVcsRevisionHistoryService
getLastVcsRevisionKeys
in interface PlanVcsRevisionHistoryService
public void markBuildStarted(@NotNull @NotNull BuildContext buildContext)
PlanVcsRevisionHistoryService
BuildContext
markBuildStarted
in interface PlanVcsRevisionHistoryService
public void markChangeDetectionCompleted(@NotNull @NotNull PlanKey planKey, int buildNumber, @NotNull @NotNull PlanVcsRevisionData planVcsRevisionData, long repositoryId)
PlanVcsRevisionHistoryService
markChangeDetectionCompleted
in interface PlanVcsRevisionHistoryService
public void clearRevisionHistoryForPlan(@NotNull @NotNull PlanKey planKey)
PlanVcsRevisionHistoryService
clearRevisionHistoryForPlan
in interface PlanVcsRevisionHistoryService
public void cleanupUnusedEntriesForPlan(@NotNull @NotNull PlanKey planKey)
PlanVcsRevisionHistoryService
cleanupUnusedEntriesForPlan
in interface PlanVcsRevisionHistoryService
public void moveRevisionHistoryForPlan(@NotNull @NotNull PlanKey originalPlanKey, @NotNull @NotNull PlanKey planKey)
PlanVcsRevisionHistoryService
moveRevisionHistoryForPlan
in interface PlanVcsRevisionHistoryService
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.