@Singleton public class DeploymentProjectResource extends Object
Constructor and Description |
---|
DeploymentProjectResource(DeploymentProjectDeletionService deploymentProjectDeletionService,
DeploymentProjectService deploymentProjectService,
EnvironmentService environmentService,
EnvironmentTaskService environmentTaskService,
EnvironmentTriggerService environmentTriggerService,
NotificationManager notificationManager,
TaskManager taskManager,
TriggerTypeManager triggerTypeManager,
VariableConfigurationService variableConfigurationService) |
Modifier and Type | Method and Description |
---|---|
Long |
addEnvironment(long deploymentProjectId,
RestEnvironment environment) |
RestDeploymentProject |
createDeploymentProject(RestDeploymentProject deploymentProjectDetails) |
javax.ws.rs.core.Response |
deleteDeploymentProject(Long deploymentProjectId) |
public DeploymentProjectResource(DeploymentProjectDeletionService deploymentProjectDeletionService, DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, EnvironmentTaskService environmentTaskService, EnvironmentTriggerService environmentTriggerService, NotificationManager notificationManager, TaskManager taskManager, TriggerTypeManager triggerTypeManager, VariableConfigurationService variableConfigurationService)
public RestDeploymentProject createDeploymentProject(RestDeploymentProject deploymentProjectDetails) throws WebValidationException
WebValidationException
public Long addEnvironment(long deploymentProjectId, RestEnvironment environment) throws WebValidationException
WebValidationException
public javax.ws.rs.core.Response deleteDeploymentProject(Long deploymentProjectId)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.