int hits = 0;
for (int i = 0; i < result.length; i++) {
Iterator<BuildStatus> iter = configuredBuildStatiMatches.iterator();
// check for each possible match configured
while (iter.hasNext()) {
BuildStatus bs = iter.next();
if (result[i].equals(bs)) {
hits++;
LOG.debug("match found: actual status [{}] vs. expected status [{}]", result[i], bs);
break;
} else {