Interface ProjectStatusHelper

  • All Known Implementing Classes:
    ProjectStatusHelperImpl

    public interface ProjectStatusHelper
    Helps the UI deal with displaying projects
    • Method Detail

      • getPlanCount

        int getPlanCount​(String projectKey)
      • getFailingBuilds

        int getFailingBuilds​(String projectKey)
      • getCurrentStatus

        String getCurrentStatus​(String projectKey)
        Returns the string representation the current status of builds for this project. Mirrors ImmutablePlan.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

        String getProjectSummary​(String projectKey)