Class ProjectsControl

    • Constructor Detail

    • Method Detail

      • createProject

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

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

        public RestProject 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
      • 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)
      • 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)