@Singleton public class ProjectResource extends Object
Constructor and Description |
---|
ProjectResource(ProjectManager projectManager) |
Modifier and Type | Method and Description |
---|---|
RestProject |
createProject(RestProject project) |
javax.ws.rs.core.Response |
deleteProject(String projectKey)
Remove project.
|
public ProjectResource(ProjectManager projectManager)
public RestProject createProject(RestProject project)
public javax.ws.rs.core.Response deleteProject(String projectKey) throws WebValidationException
projectKey
- project key to be removedWebValidationException
- when project contains plansCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.