com.atlassian.bamboo.project
Interface ProjectStatusHelper

All Known Implementing Classes:
ProjectStatusHelperImpl

public interface ProjectStatusHelper

Helps the UI deal with displayiing projects


Method Summary
 int getBuildCount(java.lang.String projectKey)
           
 java.lang.String getCurrentStatus(java.lang.String projectKey)
          Returns the string representatioin the current status of builds for this project.
 int getFailingBuilds(java.lang.String projectKey)
           
 java.lang.String getProjectSummary(java.lang.String projectKey)
           
 

Method Detail

getBuildCount

int getBuildCount(java.lang.String projectKey)

getFailingBuilds

int getFailingBuilds(java.lang.String projectKey)

getCurrentStatus

java.lang.String getCurrentStatus(java.lang.String projectKey)
Returns the string representatioin the current status of builds for this project. Mirrors Build.getCurrentStatus(). It will return "current" if any plan is building, and "fail" if any plan is failing.

Returns:
a String represnting the status

getProjectSummary

java.lang.String getProjectSummary(java.lang.String projectKey)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.