Class DeploymentProjectResource
java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.deployment.DeploymentProjectResource
@Path("deployment")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class DeploymentProjectResource
extends Object
-
Constructor Summary
ConstructorDescriptionDeploymentProjectResource
(DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, EnvironmentTaskService environmentTaskService, EnvironmentTriggerService environmentTriggerService, NotificationManager notificationManager, TaskManager taskManager, TriggerTypeManager triggerTypeManager, VariableConfigurationService variableConfigurationService) -
Method Summary
Modifier and TypeMethodDescriptionaddEnvironment
(long deploymentProjectId, RestEnvironment environment) createDeploymentProject
(RestDeploymentProject deploymentProjectDetails)
-
Constructor Details
-
DeploymentProjectResource
@Inject public DeploymentProjectResource(DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, EnvironmentTaskService environmentTaskService, EnvironmentTriggerService environmentTriggerService, NotificationManager notificationManager, TaskManager taskManager, TriggerTypeManager triggerTypeManager, VariableConfigurationService variableConfigurationService)
-
-
Method Details
-
createDeploymentProject
@POST public RestDeploymentProject createDeploymentProject(RestDeploymentProject deploymentProjectDetails) throws WebValidationException - Throws:
WebValidationException
-
addEnvironment
@POST @Path("{deploymentProjectId}/environment") public Long addEnvironment(@PathParam("deploymentProjectId") long deploymentProjectId, RestEnvironment environment) throws WebValidationException - Throws:
WebValidationException
-