Class ProjectsControl

java.lang.Object
com.atlassian.bamboo.testutils.backdoor.BackdoorControl<ProjectsControl>
com.atlassian.bamboo.testutils.backdoor.ProjectsControl

public class ProjectsControl extends BackdoorControl<ProjectsControl>
  • Constructor Details

  • Method Details

    • createProject

      public RestProjectCreate createProject(com.atlassian.bamboo.specs.api.builders.project.Project project)
    • createProject

      public RestProjectCreate createProject(com.atlassian.bamboo.specs.api.model.project.ProjectProperties projectProperties)
    • createProject

      public RestProjectCreate createProject(String projectKey, String projectName)
    • createProject

      public RestProjectCreate createProject(String projectKey, String projectName, boolean temporary, boolean publicAccess)
    • createOrUpdateProjectWithSpecs

      public com.atlassian.bamboo.specs.api.model.project.ProjectProperties createOrUpdateProjectWithSpecs(TestUser user, com.atlassian.bamboo.specs.api.builders.project.Project project) throws Exception
      Throws:
      Exception
    • getAllProjects

      public List<RestProjectCreate> getAllProjects()
    • getProjectVariables

      public List<RestVariable> getProjectVariables(String projectKey)
    • updateProjectVariable

      public void updateProjectVariable(String projectKey, String variableKey, String variableValue)
    • deleteProject

      public void deleteProject(String projectKey)
    • deleteAllProjects

      public void deleteAllProjects()
      Delete all plans and projects
    • projectExists

      public boolean projectExists(String projectKey)
    • tearDown

      public void tearDown()
      Description copied from class: BackdoorControl
      Cleanup resources
      Overrides:
      tearDown in class BackdoorControl<ProjectsControl>
    • assignRssRepository

      public void assignRssRepository(String projectKey, String repositoryId)
    • unassignRssRepository

      public void unassignRssRepository(String projectKey, String repositoryId)
    • assignedRepositoryIds

      public List<Long> assignedRepositoryIds(String projectKey)
    • markProjectToBeDeleted

      public void markProjectToBeDeleted(String key)