* Benchmark.Content - For each Item in the Benchmark object's items
* property, initiate Item.Process
*/
log.debug("Benchmark.Content");
CheckInterpreter checkInterpreter = null;
if (options.isPerformChecks()) {
CheckInterpreterConfiguration config = newCheckInterpreterConfiguration();
config.addDirectives(options.getDirectives());
config.setResultContextResolver(resultContextResolver);
checkInterpreter = new CheckInterpreter(config);
}
MutableXCCDFResults xccdfResults = document.newXCCDFResults(xccdfResultContext, options);
document.visit(new ProcessorXCCDFVisitorHandler(checkInterpreter,
xccdfResults));
CheckResults checkResults;
if (checkInterpreter != null) {
checkResults = checkInterpreter.processChecks();
} else {
checkResults = CheckResults.EMPTY_CHECK_RESULTS;
}
xccdfResults.applyCheckResults(checkResults);