Class ActivePlansDeploymentsAnalyticsServiceImpl
java.lang.Object
com.atlassian.bamboo.plan.analytics.ActivePlansDeploymentsAnalyticsServiceImpl
- All Implemented Interfaces:
ActivePlansDeploymentsAnalyticsService
public class ActivePlansDeploymentsAnalyticsServiceImpl
extends Object
implements ActivePlansDeploymentsAnalyticsService
-
Constructor Summary
ConstructorsConstructorDescriptionActivePlansDeploymentsAnalyticsServiceImpl(ImmutablePlanCacheService immutablePlanCacheService, DeploymentProjectService deploymentProjectService, DeploymentResultService deploymentResultService) -
Method Summary
Modifier and TypeMethodDescriptionreturns counters and resets themvoidonChainExecuted(PlanResultKey planResultKey) handles situation when chain is executedvoidonDeploymentExecuted(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:ActivePlansDeploymentsAnalyticsServicehandles situation when chain is executed- Specified by:
onChainExecutedin interfaceActivePlansDeploymentsAnalyticsService
-
onDeploymentExecuted
public void onDeploymentExecuted(long deploymentResultId) Description copied from interface:ActivePlansDeploymentsAnalyticsServicehandles situation when deployment is executed- Specified by:
onDeploymentExecutedin interfaceActivePlansDeploymentsAnalyticsService
-
getStatsAndReset
Description copied from interface:ActivePlansDeploymentsAnalyticsServicereturns counters and resets them- Specified by:
getStatsAndResetin interfaceActivePlansDeploymentsAnalyticsService
-