public class DeploymentVersionChainResultDataCollectorImpl extends Object implements DeploymentVersionChainResultDataCollector
Constructor and Description |
---|
DeploymentVersionChainResultDataCollectorImpl(DeploymentVersionDao deploymentVersionDao,
DeploymentVersionVcsChangesetDao deploymentVersionVcsChangesetDao,
DeploymentVersionLinkedJiraIssueDao deploymentVersionLinkedJiraIssueDao,
ResultsSummaryManager resultsSummaryManager,
RepositoryChangesetDao repositoryChangesetDao,
LinkedJiraIssueDao linkedJiraIssueDao) |
Modifier and Type | Method and Description |
---|---|
void |
createChangesetsAndJiraIssues(long deploymentProjectId,
MutableDeploymentVersion mutableDeploymentVersion,
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.
|
Pair<List<MutableDeploymentVersionVcsChangeset>,List<InternalLinkedJiraIssue>> |
findChangesetsAndJiraIssues(long deploymentProjectId,
MutableDeploymentVersion newVersion,
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.
|
Pair<List<DeploymentVersionVcsChangeset>,List<InternalLinkedJiraIssue>> |
findImmutableChangesetsAndJiraIssues(long deploymentProjectId,
MutableDeploymentVersion newVersion,
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.
|
public DeploymentVersionChainResultDataCollectorImpl(DeploymentVersionDao deploymentVersionDao, DeploymentVersionVcsChangesetDao deploymentVersionVcsChangesetDao, DeploymentVersionLinkedJiraIssueDao deploymentVersionLinkedJiraIssueDao, ResultsSummaryManager resultsSummaryManager, RepositoryChangesetDao repositoryChangesetDao, LinkedJiraIssueDao linkedJiraIssueDao)
public void createChangesetsAndJiraIssues(long deploymentProjectId, @NotNull MutableDeploymentVersion mutableDeploymentVersion, @NotNull PlanResultKey planResultKey)
createChangesetsAndJiraIssues
in interface DeploymentVersionChainResultDataCollector
deploymentProjectId
- id of the Deployment Project version is related tomutableDeploymentVersion
- version being createdplanResultKey
- the key of build result this version is created from@NotNull public Pair<List<MutableDeploymentVersionVcsChangeset>,List<InternalLinkedJiraIssue>> findChangesetsAndJiraIssues(long deploymentProjectId, @Nullable MutableDeploymentVersion newVersion, @NotNull PlanResultKey planResultKey)
findChangesetsAndJiraIssues
in interface DeploymentVersionChainResultDataCollector
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@NotNull public Pair<List<DeploymentVersionVcsChangeset>,List<InternalLinkedJiraIssue>> findImmutableChangesetsAndJiraIssues(long deploymentProjectId, @Nullable MutableDeploymentVersion newVersion, @NotNull PlanResultKey planResultKey)
findImmutableChangesetsAndJiraIssues
in interface DeploymentVersionChainResultDataCollector
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 fromCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.