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.user.UserManager salUserManager, DeploymentVersionService deploymentVersionService, DeploymentResultService deploymentResultService, OAuthVerifier oAuthVerifier) -
Method Summary
-
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.user.UserManager salUserManager, DeploymentVersionService deploymentVersionService, DeploymentResultService deploymentResultService, OAuthVerifier oAuthVerifier)
-
-
Method Details
-
aggregateForGlobalIds
@NotNull public @NotNull Map<String,Iterable<com.atlassian.linkaggregation.RemoteLinkAggregation>> aggregateForGlobalIds(@NotNull @NotNull Iterable<String> globalIds) Used by Remote Link Aggregator plugin. The results are used by JIRA's dev panel to show deployment information. Provides deployment environment statuses for a specified JIRA issue keys.- Specified by:
aggregateForGlobalIdsin interfacecom.atlassian.linkaggregation.RemoteLinkAggregator- Parameters:
globalIds- The issues keys we want to find deployment information for.- Returns:
- relevant environment statuses mapped to the provided issue keys.
-