public boolean buildDataExists() { List<GraphPoint> points = gatherer.gatherHistoryDataSet(project.getLastBuild()); return points.size() > 0; }
/** * Doing this wastefully because i do not know the lifecycle of this object. Is it a singleton? */ public ClangBuildGraph getGraph() { return new ClangBuildGraph(gatherer.gatherHistoryDataSet(project.getLastBuild())); }