public class EnvironmentDeletionServiceImpl extends Object implements EnvironmentDeletionService
Constructor and Description |
---|
EnvironmentDeletionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
delete(long environmentId,
boolean fireEvent)
Delete single Environment and related records.
|
int |
deleteForDeploymentProject(long deploymentProjectId)
Delete all Environments related to DeploymentProject.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete
public void delete(long environmentId, boolean fireEvent)
EnvironmentDeletionService
EnvironmentDeletedEvent
always and MultipleEnvironmentsDeletedEvent
if requested.delete
in interface EnvironmentDeletionService
environmentId
- of the environment to delete.fireEvent
- if MultipleEnvironmentsDeletedEvent
should be fired.public int deleteForDeploymentProject(long deploymentProjectId)
EnvironmentDeletionService
MultipleEnvironmentsDeletedEvent
.deleteForDeploymentProject
in interface EnvironmentDeletionService
deploymentProjectId
- id of DeploymentProject
which Environment
s will be deletedCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.