com.atlassian.bamboo.deployments.environments.service
Interface EnvironmentDeletionService

All Known Implementing Classes:
EnvironmentDeletionServiceImpl

public interface EnvironmentDeletionService


Method Summary
 void delete(long environmentId)
          Delete single Environment and related records.
 int deleteForDeploymentProject(long deploymentProjectId)
          Delete all Environments related to DeploymentProject.
 

Method Detail

delete

void delete(long environmentId)
Delete single Environment and related records.

Parameters:
environmentId - of the environment to delete.

deleteForDeploymentProject

int deleteForDeploymentProject(long deploymentProjectId)
Delete all Environments related to DeploymentProject.

Parameters:
deploymentProjectId - id of DeploymentProject which Environments will be deleted
Returns:
number of deleted Environment records


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.