Class DeploymentProjectResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.testutils.rest.resource.deployment.DeploymentProjectResource
-
@Singleton public class DeploymentProjectResource extends Object
-
-
Constructor Summary
Constructors Constructor Description DeploymentProjectResource(DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, EnvironmentTaskService environmentTaskService, EnvironmentTriggerService environmentTriggerService, NotificationManager notificationManager, TaskManager taskManager, TriggerTypeManager triggerTypeManager, VariableConfigurationService variableConfigurationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
addEnvironment(long deploymentProjectId, RestEnvironment environment)
RestDeploymentProject
createDeploymentProject(RestDeploymentProject deploymentProjectDetails)
-
-
-
Constructor Detail
-
DeploymentProjectResource
public DeploymentProjectResource(DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, EnvironmentTaskService environmentTaskService, EnvironmentTriggerService environmentTriggerService, NotificationManager notificationManager, TaskManager taskManager, TriggerTypeManager triggerTypeManager, VariableConfigurationService variableConfigurationService)
-
-
Method Detail
-
createDeploymentProject
public RestDeploymentProject createDeploymentProject(RestDeploymentProject deploymentProjectDetails) throws WebValidationException
- Throws:
WebValidationException
-
addEnvironment
public Long addEnvironment(long deploymentProjectId, RestEnvironment environment) throws WebValidationException
- Throws:
WebValidationException
-
-