public class ActivePlansDeploymentsAnalyticsServiceImpl extends Object implements ActivePlansDeploymentsAnalyticsService
Constructor and Description |
---|
ActivePlansDeploymentsAnalyticsServiceImpl(ImmutablePlanCacheService immutablePlanCacheService,
DeploymentProjectService deploymentProjectService,
DeploymentResultService deploymentResultService) |
Modifier and Type | Method and Description |
---|---|
ActivePlansDeploymentsStatistics |
getStatsAndReset()
returns counters and resets them
|
void |
onChainExecuted(PlanResultKey planResultKey)
handles situation when chain is executed
|
void |
onDeploymentExecuted(long deploymentResultId)
handles situation when deployment is executed
|
@Inject public ActivePlansDeploymentsAnalyticsServiceImpl(ImmutablePlanCacheService immutablePlanCacheService, DeploymentProjectService deploymentProjectService, DeploymentResultService deploymentResultService)
public void onChainExecuted(PlanResultKey planResultKey)
ActivePlansDeploymentsAnalyticsService
onChainExecuted
in interface ActivePlansDeploymentsAnalyticsService
public void onDeploymentExecuted(long deploymentResultId)
ActivePlansDeploymentsAnalyticsService
onDeploymentExecuted
in interface ActivePlansDeploymentsAnalyticsService
public ActivePlansDeploymentsStatistics getStatsAndReset()
ActivePlansDeploymentsAnalyticsService
getStatsAndReset
in interface ActivePlansDeploymentsAnalyticsService
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.