/** * Displays the combined status of all modules. * * <p>More precisely, this picks up the status of this build itself, plus all the latest builds of * the modules that belongs to this build. */ @Override public Result getResult() { Result r = super.getResult(); for (IvyBuild b : getModuleLastBuilds().values()) { Result br = b.getResult(); if (r == null) r = br; else if (br == Result.NOT_BUILT) continue; // UGLY: when computing combined status, ignore the // modules that were not built else if (br != null) r = r.combine(br); } return r; }