Class DeploymentAggregator
java.lang.Object
com.atlassian.bamboo.plugins.jira.summary.deployment.DeploymentAggregator
- All Implemented Interfaces:
com.atlassian.linkaggregation.RemoteLinkAggregator
public class DeploymentAggregator
extends Object
implements com.atlassian.linkaggregation.RemoteLinkAggregator
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.common.collect.Ordering<EnvironmentStatusJsonBean>
-
Constructor Summary
ConstructorsConstructorDescriptionDeploymentAggregator
(AdministrationConfigurationAccessor administrationConfigurationAccessor, ImpersonationService impersonationService, JiraRestHelper jiraRestHelper, com.atlassian.sal.api.auth.OAuthRequestVerifierFactory oAuthRequestVerifierFactory, com.atlassian.sal.api.user.UserManager salUserManager, DeploymentVersionService deploymentVersionService, DeploymentResultService deploymentResultService) -
Method Summary
Modifier and TypeMethodDescription@NotNull Iterable<com.atlassian.linkaggregation.RemoteLinkAggregation>
aggregateForGlobalId
(@NotNull String issueKey, @NotNull Map<Long, PlanResultKey> versionPlanKeys, @NotNull Map<DeploymentProject, List<EnvironmentStatusForAggregation>> projects2StatusesMap) aggregateForGlobalIds
(@NotNull Iterable<String> globalIds)
-
Field Details
-
ENVIRONMENT_ORDERING
public static final com.google.common.collect.Ordering<EnvironmentStatusJsonBean> ENVIRONMENT_ORDERING
-
-
Constructor Details
-
DeploymentAggregator
@Inject public DeploymentAggregator(AdministrationConfigurationAccessor administrationConfigurationAccessor, ImpersonationService impersonationService, JiraRestHelper jiraRestHelper, com.atlassian.sal.api.auth.OAuthRequestVerifierFactory oAuthRequestVerifierFactory, com.atlassian.sal.api.user.UserManager salUserManager, DeploymentVersionService deploymentVersionService, DeploymentResultService deploymentResultService)
-
-
Method Details
-
aggregateForGlobalIds
@NotNull public @NotNull Map<String,Iterable<com.atlassian.linkaggregation.RemoteLinkAggregation>> aggregateForGlobalIds(@NotNull @NotNull Iterable<String> globalIds) - Specified by:
aggregateForGlobalIds
in interfacecom.atlassian.linkaggregation.RemoteLinkAggregator
-
aggregateForGlobalId
@NotNull public @NotNull Iterable<com.atlassian.linkaggregation.RemoteLinkAggregation> aggregateForGlobalId(@NotNull @NotNull String issueKey, @NotNull @NotNull Map<Long, PlanResultKey> versionPlanKeys, @NotNull @NotNull Map<DeploymentProject, List<EnvironmentStatusForAggregation>> projects2StatusesMap)
-