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