Interface DeploymentVersionChainResultDataCollector
-
- All Known Implementing Classes:
DeploymentVersionChainResultDataCollectorImpl
@Internal public interface DeploymentVersionChainResultDataCollector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createChangesetsAndJiraIssues(long deploymentProjectId, @NotNull MutableDeploymentVersion mutableDeploymentVersion, @NotNull PlanResultKey planResultKey)
Finds changes between last version (if it exists) and a new version by looking at build results that happened between the 2 versions and saves them to the db.@NotNull Pair<List<MutableDeploymentVersionVcsChangeset>,List<InternalLinkedJiraIssue>>
findChangesetsAndJiraIssues(long deploymentProjectId, @Nullable MutableDeploymentVersion newVersion, @NotNull PlanResultKey planResultKey)
Finds changes between last version (if it exists) and a new version by looking at build results that happened between the 2 versions.@NotNull Pair<List<DeploymentVersionVcsChangeset>,List<InternalLinkedJiraIssue>>
findImmutableChangesetsAndJiraIssues(long deploymentProjectId, @Nullable MutableDeploymentVersion newVersion, @NotNull PlanResultKey planResultKey)
Finds changes between last version (if it exists) and a new version by looking at build results that happened between the 2 versions.
-
-
-
Method Detail
-
createChangesetsAndJiraIssues
void createChangesetsAndJiraIssues(long deploymentProjectId, @NotNull @NotNull MutableDeploymentVersion mutableDeploymentVersion, @NotNull @NotNull PlanResultKey planResultKey)
Finds changes between last version (if it exists) and a new version by looking at build results that happened between the 2 versions and saves them to the db.- Parameters:
deploymentProjectId
- id of the Deployment Project version is related tomutableDeploymentVersion
- version being createdplanResultKey
- the key of build result this version is created from
-
findChangesetsAndJiraIssues
@NotNull @NotNull Pair<List<MutableDeploymentVersionVcsChangeset>,List<InternalLinkedJiraIssue>> findChangesetsAndJiraIssues(long deploymentProjectId, @Nullable @Nullable MutableDeploymentVersion newVersion, @NotNull @NotNull PlanResultKey planResultKey)
Finds changes between last version (if it exists) and a new version by looking at build results that happened between the 2 versions.- Parameters:
deploymentProjectId
- id of the Deployment Project version is related tonewVersion
- version being created - might be null if we don't want to save anything in dbplanResultKey
- the key of build result this version is created from- Returns:
- Pair.getFirst() - list of changesets, Pair.getSecond() - list of JIRA issues
-
findImmutableChangesetsAndJiraIssues
@NotNull @NotNull Pair<List<DeploymentVersionVcsChangeset>,List<InternalLinkedJiraIssue>> findImmutableChangesetsAndJiraIssues(long deploymentProjectId, @Nullable @Nullable MutableDeploymentVersion newVersion, @NotNull @NotNull PlanResultKey planResultKey)
Finds changes between last version (if it exists) and a new version by looking at build results that happened between the 2 versions.- Parameters:
deploymentProjectId
- id of the Deployment Project version is related tonewVersion
- version being created - might be null if we don't want to save anything in dbplanResultKey
- the key of build result this version is created from- Returns:
- Pair.getFirst() - list of immutable changesets, Pair.getSecond() - list of JIRA issues
-
-