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