public class DeploymentProjectEventListener extends Object
| Constructor and Description |
|---|
DeploymentProjectEventListener(AuditLogService auditLogService,
DeploymentProjectService deploymentProjectService,
CachedPlanManager cachedPlanManager,
ArtifactDefinitionManager artifactDefinitionManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
onArtifactDefinitionAdded(PlanArtifactDefinitionAddedEvent event) |
void |
onArtifactDefinitionUpdated(PlanArtifactDefinitionUpdatedEvent event) |
void |
onChainMoved(ChainMovedEvent event)
We want to reset the triggers after the moved event occurs as they are cached via the old plankey in maps inside EnvironmentDependencyServiceImpl
|
void |
onChainMoving(ChainMovingEvent event) |
void |
onDeploymentProjectCreated(DeploymentProjectCreatedEvent event) |
void |
onDeploymentProjectDeleted(DeploymentProjectDeletedEvent event) |
void |
onPlanArtifactDefinitionListModified(PlanSharedArtifactDefinitionListModified event) |
void |
onPlanBranchResetToLightweight(PlanBranchResetToLightweight event) |
public DeploymentProjectEventListener(AuditLogService auditLogService, DeploymentProjectService deploymentProjectService, CachedPlanManager cachedPlanManager, ArtifactDefinitionManager artifactDefinitionManager)
@EventListener
public void onArtifactDefinitionAdded(@NotNull
PlanArtifactDefinitionAddedEvent event)
@EventListener
public void onArtifactDefinitionUpdated(@NotNull
PlanArtifactDefinitionUpdatedEvent event)
@EventListener
public void onPlanArtifactDefinitionListModified(@NotNull
PlanSharedArtifactDefinitionListModified event)
@EventListener
public void onPlanBranchResetToLightweight(@NotNull
PlanBranchResetToLightweight event)
@EventListener
public void onChainMoving(@NotNull
ChainMovingEvent event)
@EventListener
public void onChainMoved(@NotNull
ChainMovedEvent event)
@EventListener
public void onDeploymentProjectCreated(@NotNull
DeploymentProjectCreatedEvent event)
@EventListener
public void onDeploymentProjectDeleted(@NotNull
DeploymentProjectDeletedEvent event)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.