@Internal
public interface PlanVcsRevisionHistoryDao
Modifier and Type | Method and Description |
---|---|
void |
cleanupUnusedEntriesForPlan(PlanKey planKey) |
void |
createChangeDetectionHistoryItem(PlanVcsRevisionHistoryItem planVcsRevisionHistoryItem)
Inserts new history item.
|
void |
createOrUpdateChangeDetectionHistoryItem(PlanVcsRevisionHistoryItem planVcsRevisionHistoryItem)
If item with the same plan key and build number exists it is updated with vcs information from the current one.
|
void |
deleteVcsRevisionHistoryForPlan(PlanKey planKey)
Deletes entire revision history for a plan.
|
List<PlanVcsRevisionHistoryItem> |
findLatestVcsRevisionHistoryItems(PlanKey planKey)
Retrieves a list of history items with the highest build number.
|
List<PlanVcsRevisionHistoryItem> |
findLatestVcsRevisionHistoryItemsBeforeBuildNumber(PlanKey planKey,
int buildNumber)
Retrieves a list of history items with the highest build number that is lower than the argument.
|
PlanVcsRevisionHistoryItem |
findVcsRevisionHistoryItem(PlanKey planKey,
long repositoryId,
int buildNumber)
Retrieves a specific history item.
|
void |
moveRevisionHistoryForPlan(PlanKey oldPlanKey,
PlanKey newPlanKey) |
@Nullable PlanVcsRevisionHistoryItem findVcsRevisionHistoryItem(@NotNull PlanKey planKey, long repositoryId, int buildNumber)
planKey
- repositoryId
- buildNumber
- @NotNull List<PlanVcsRevisionHistoryItem> findLatestVcsRevisionHistoryItems(@NotNull PlanKey planKey)
planKey
- @NotNull List<PlanVcsRevisionHistoryItem> findLatestVcsRevisionHistoryItemsBeforeBuildNumber(@NotNull PlanKey planKey, int buildNumber)
planKey
- buildNumber
- void createChangeDetectionHistoryItem(@NotNull PlanVcsRevisionHistoryItem planVcsRevisionHistoryItem)
planVcsRevisionHistoryItem
- void createOrUpdateChangeDetectionHistoryItem(@NotNull PlanVcsRevisionHistoryItem planVcsRevisionHistoryItem)
planVcsRevisionHistoryItem
- void deleteVcsRevisionHistoryForPlan(@NotNull PlanKey planKey)
planKey
- void cleanupUnusedEntriesForPlan(@NotNull PlanKey planKey)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.