|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlanVcsRevisionHistoryService
Provides access to vcs revision information of a Plan
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. |
Method Detail |
---|
@Nullable java.lang.String getLastVcsRevisionKey(@NotNull PlanKey planKey)
@Nullable java.lang.String getLastVcsRevisionKeyBeforeBuildNumber(@NotNull PlanKey planKey, int buildNumber)
void markChangeDetectionCompleted(@NotNull PlanKey planKey, int buildNumber, @Nullable java.lang.String vcsRevisionKey)
planKey
- buildNumber
- vcsRevisionKey
- void markBuildStarted(@NotNull BuildContext buildContext)
BuildContext
buildContext
- void revertVcsRevisionForResult(@NotNull PlanResultKey planResultKey)
ResultsSummary
identified by the key.
This allows the change detection to trigger another build for the same changeset.
planResultKey
- void clearRevisionHistoryForPlan(@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 |