Class ActivePlansDeploymentsAnalyticsServiceImpl
java.lang.Object
com.atlassian.bamboo.plan.analytics.ActivePlansDeploymentsAnalyticsServiceImpl
- All Implemented Interfaces:
ActivePlansDeploymentsAnalyticsService
public class ActivePlansDeploymentsAnalyticsServiceImpl
extends Object
implements ActivePlansDeploymentsAnalyticsService
-
Constructor Summary
ConstructorDescriptionActivePlansDeploymentsAnalyticsServiceImpl
(ImmutablePlanCacheService immutablePlanCacheService, DeploymentProjectService deploymentProjectService, DeploymentResultService deploymentResultService) -
Method Summary
Modifier and TypeMethodDescriptionreturns counters and resets themvoid
onChainExecuted
(PlanResultKey planResultKey) handles situation when chain is executedvoid
onDeploymentExecuted
(long deploymentResultId) handles situation when deployment is executed
-
Constructor Details
-
ActivePlansDeploymentsAnalyticsServiceImpl
@Inject public ActivePlansDeploymentsAnalyticsServiceImpl(ImmutablePlanCacheService immutablePlanCacheService, DeploymentProjectService deploymentProjectService, DeploymentResultService deploymentResultService)
-
-
Method Details
-
onChainExecuted
Description copied from interface:ActivePlansDeploymentsAnalyticsService
handles situation when chain is executed- Specified by:
onChainExecuted
in interfaceActivePlansDeploymentsAnalyticsService
-
onDeploymentExecuted
public void onDeploymentExecuted(long deploymentResultId) Description copied from interface:ActivePlansDeploymentsAnalyticsService
handles situation when deployment is executed- Specified by:
onDeploymentExecuted
in interfaceActivePlansDeploymentsAnalyticsService
-
getStatsAndReset
Description copied from interface:ActivePlansDeploymentsAnalyticsService
returns counters and resets them- Specified by:
getStatsAndReset
in interfaceActivePlansDeploymentsAnalyticsService
-