|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.deployments.versions.service.DeploymentVersionChainResultDataCollectorImpl
public class DeploymentVersionChainResultDataCollectorImpl
Helper class used for gathering commits and issues for freshly created Deployment Version.
Constructor Summary | |
---|---|
DeploymentVersionChainResultDataCollectorImpl(DeploymentVersionDao deploymentVersionDao,
DeploymentVersionVcsChangesetDao deploymentVersionVcsChangesetDao,
DeploymentVersionLinkedJiraIssueDao deploymentVersionLinkedJiraIssueDao,
ResultsSummaryManager resultsSummaryManager,
RepositoryChangesetDao repositoryChangesetDao,
LinkedJiraIssueDao linkedJiraIssueDao)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeploymentVersionChainResultDataCollectorImpl(DeploymentVersionDao deploymentVersionDao, DeploymentVersionVcsChangesetDao deploymentVersionVcsChangesetDao, DeploymentVersionLinkedJiraIssueDao deploymentVersionLinkedJiraIssueDao, ResultsSummaryManager resultsSummaryManager, RepositoryChangesetDao repositoryChangesetDao, LinkedJiraIssueDao linkedJiraIssueDao)
Method Detail |
---|
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 from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |