java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.plan.ProjectResource

@Path("project") @Consumes("application/json") @Produces("application/json") @Singleton public class ProjectResource extends Object
  • Constructor Details

    • ProjectResource

      @Inject public ProjectResource(ProjectManager projectManager)
  • Method Details

    • getProjectsSimple

      @GET public List<RestProjectCreate> getProjectsSimple()
      Returns list of projects with basic data only (without heavy dependencies)
    • deleteAllProjects

      @DELETE public javax.ws.rs.core.Response deleteAllProjects() throws WebValidationException
      Remove all projects. All plans should be removed in advance.
      Throws:
      WebValidationException