* @param project the project
* @param build the build
* @param buildCompleted if the build is finished.
*/
private synchronized void set(AbstractProject project, AbstractBuild build, boolean buildCompleted) {
Entry entry = getEntry(project);
if (entry == null) {
entry = new Entry(project, build);
entry.setBuildCompleted(buildCompleted);
list.add(entry);
} else {
if (entry.getBuild() == null) {
entry.setBuild(build);
}
entry.setBuildCompleted(buildCompleted);
}
}