Package com.atlassian.bamboo.project
Interface ProjectStatusHelper
- All Known Implementing Classes:
ProjectStatusHelperImpl
public interface ProjectStatusHelper
Helps the UI deal with displaying projects
-
Method Summary
Modifier and TypeMethodDescriptiongetCurrentStatus
(String projectKey) Returns the string representation the current status of builds for this project.int
getFailingBuilds
(String projectKey) int
getPlanCount
(String projectKey) getProjectSummary
(String projectKey) getUniqueProjects
(Collection<? extends TopLevelPlan> plans)
-
Method Details
-
getPlanCount
-
getFailingBuilds
-
getCurrentStatus
Returns the string representation the current status of builds for this project. MirrorsImmutablePlan.getCurrentStatus()
. It will return "current" if any plan is building, and "fail" if any plan is failing.- Parameters:
projectKey
- Key of a project to check status- Returns:
- a String representing the status
-
getProjectSummary
-
getUniqueProjects
-