Class ProjectResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.testutils.rest.resource.plan.ProjectResource
-
@Singleton public class ProjectResource extends Object
-
-
Constructor Summary
Constructors Constructor Description ProjectResource(ProjectManager projectManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsedeleteAllProjects()Remove all projects.List<RestProject>getProjectsSimple()Returns list of projects with basic data only (without heavy dependencies)
-
-
-
Constructor Detail
-
ProjectResource
public ProjectResource(ProjectManager projectManager)
-
-
Method Detail
-
getProjectsSimple
public List<RestProject> getProjectsSimple()
Returns list of projects with basic data only (without heavy dependencies)
-
deleteAllProjects
public javax.ws.rs.core.Response deleteAllProjects() throws WebValidationExceptionRemove all projects. All plans should be removed in advance.- Throws:
WebValidationException
-
-