|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.plan.vcsRevision.PlanVcsRevisionHistoryServiceImpl
public class PlanVcsRevisionHistoryServiceImpl
Constructor Summary | |
---|---|
PlanVcsRevisionHistoryServiceImpl(PlanVcsRevisionHistoryManager planVcsRevisionHistoryManager)
|
Method Summary | |
---|---|
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. |
java.lang.String |
getLastVcsRevisionKey(PlanKey planKey)
The string value representing the last vcs revision checked for relevant changes. |
java.lang.String |
getLastVcsRevisionKeyBeforeBuildNumber(PlanKey planKey,
int buildNumber)
Return the last revision checked for relevant changes before given build. |
void |
markBuildStarted(BuildContext buildContext)
Saves the information on started build in the plan's vcs revision history. |
void |
markChangeDetectionCompleted(PlanKey planKey,
int buildNumber,
java.lang.String vcsRevisionKey)
Saves the information on change detection result in the plan's vcs revision history. |
void |
revertVcsRevisionForResult(PlanResultKey planResultKey)
Removes history entry corresponding to ResultsSummary identified by the key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlanVcsRevisionHistoryServiceImpl(@NotNull PlanVcsRevisionHistoryManager planVcsRevisionHistoryManager)
Method Detail |
---|
@Nullable public java.lang.String getLastVcsRevisionKey(@NotNull PlanKey planKey)
PlanVcsRevisionHistoryService
getLastVcsRevisionKey
in interface PlanVcsRevisionHistoryService
@Nullable public java.lang.String getLastVcsRevisionKeyBeforeBuildNumber(@NotNull PlanKey planKey, int buildNumber)
PlanVcsRevisionHistoryService
getLastVcsRevisionKeyBeforeBuildNumber
in interface PlanVcsRevisionHistoryService
public void markBuildStarted(@NotNull BuildContext buildContext)
PlanVcsRevisionHistoryService
BuildContext
markBuildStarted
in interface PlanVcsRevisionHistoryService
public void markChangeDetectionCompleted(@NotNull PlanKey planKey, int buildNumber, java.lang.String vcsRevisionKey)
PlanVcsRevisionHistoryService
markChangeDetectionCompleted
in interface PlanVcsRevisionHistoryService
public void revertVcsRevisionForResult(@NotNull PlanResultKey planResultKey)
PlanVcsRevisionHistoryService
ResultsSummary
identified by the key.
This allows the change detection to trigger another build for the same changeset.
revertVcsRevisionForResult
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |