setOuterContextStatus(batchContext.getOuterContexts(), BatchStatus.COMPLETED,
exitStatus, end.getExitStatus(), partOfDecision);
return null;
}
} else if (e instanceof Fail) {
Fail fail = (Fail) e;
if (matches(exitStatus, fail.getOn())) {
setOuterContextStatus(batchContext.getOuterContexts(), BatchStatus.FAILED,
exitStatus, fail.getExitStatus(), partOfDecision);
return null;
}
} else { //stop
Stop stop = (Stop) e;
if (matches(exitStatus, stop.getOn())) {