public interface EnvironmentDeletionService
Modifier and Type | Method and Description |
---|---|
default void |
delete(long environmentId)
Delete single Environment and related records.
|
void |
delete(long environmentId,
boolean fireEvent)
Delete single Environment and related records.
|
int |
deleteForDeploymentProject(long deploymentProjectId)
Delete all Environments related to DeploymentProject.
|
default void delete(long environmentId)
MultipleEnvironmentsDeletedEvent
and EnvironmentDeletedEvent
environmentId
- of the environment to delete.void delete(long environmentId, boolean fireEvent)
EnvironmentDeletedEvent
always and MultipleEnvironmentsDeletedEvent
if requested.environmentId
- of the environment to delete.fireEvent
- if MultipleEnvironmentsDeletedEvent
should be fired.int deleteForDeploymentProject(long deploymentProjectId)
MultipleEnvironmentsDeletedEvent
.deploymentProjectId
- id of DeploymentProject
which Environment
s will be deletedCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.