|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlanVcsRevisionHistoryManager
Method Summary | |
---|---|
void |
cleanupUnusedEntriesForPlan(PlanKey planKey)
Removes history entries that are not used in change detection process. |
void |
clearRevisionHistoryForPlanNewTx(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 |
markBuildStartedNewTx(BuildContext buildContext)
Saves the information on started build in the plan's vcs revision history. |
void |
markChangeDetectionCompletedNewTx(PlanKey planKey,
int buildNumber,
java.lang.String vcsRevisionKey)
Saves the information on change detection result in the plan's vcs revision history. |
void |
revertVcsRevisionForResultNewTx(PlanResultKey planResultKey)
Removes history entry corresponding to ResultsSummary identified by the key. |
Method Detail |
---|
@Nullable java.lang.String getLastVcsRevisionKey(@NotNull PlanKey planKey)
@Nullable java.lang.String getLastVcsRevisionKeyBeforeBuildNumber(@NotNull PlanKey planKey, int buildNumber)
void markBuildStartedNewTx(@NotNull BuildContext buildContext)
BuildContext
buildContext
- void markChangeDetectionCompletedNewTx(@NotNull PlanKey planKey, int buildNumber, @Nullable java.lang.String vcsRevisionKey)
planKey
- buildNumber
- vcsRevisionKey
- void revertVcsRevisionForResultNewTx(@NotNull PlanResultKey planResultKey)
ResultsSummary
identified by the key.
This allows the change detection to trigger another build for the same changeset.
Enforces new transaction.
planResultKey
- void clearRevisionHistoryForPlanNewTx(@NotNull PlanKey planKey)
planKey
- void cleanupUnusedEntriesForPlan(@NotNull PlanKey planKey)
planKey
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |