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,
Set<String> affectedJiraIssues)
Delete all Environments related to DeploymentProject.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, deleteForDeploymentProject
public void delete(long environmentId, boolean fireEvent)
EnvironmentDeletionService
MultipleEnvironmentsDeletedEvent
if requested.delete
in interface EnvironmentDeletionService
environmentId
- of the environment to delete.fireEvent
- if MultipleEnvironmentsDeletedEvent
should be fired.public int deleteForDeploymentProject(long deploymentProjectId, Set<String> affectedJiraIssues)
EnvironmentDeletionService
MultipleEnvironmentsDeletedEvent
.deleteForDeploymentProject
in interface EnvironmentDeletionService
deploymentProjectId
- id of DeploymentProject
which Environment
s will be deletedaffectedJiraIssues
- keys of jira issues affected by the removal of projectCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences