public interface ProjectStatusHelper
Modifier and Type | Method and Description |
---|---|
String |
getCurrentStatus(String projectKey)
Returns the string representation the current status of builds for this project.
|
int |
getFailingBuilds(String projectKey) |
int |
getPlanCount(String projectKey) |
String |
getProjectSummary(String projectKey) |
Set<Project> |
getUniqueProjects(Collection<? extends TopLevelPlan> plans) |
int getPlanCount(String projectKey)
int getFailingBuilds(String projectKey)
String getCurrentStatus(String projectKey)
ImmutablePlan.getCurrentStatus()
.
It will return "current" if any plan is building, and "fail" if any plan is failing.projectKey
- Key of a project to check status@NotNull Set<Project> getUniqueProjects(Collection<? extends TopLevelPlan> plans)
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.