IValidationAdvisor.ComplianceLevel complianceLevel = options.getComplianceLevel();
if(complianceLevel == null)
complianceLevel = IValidationAdvisor.ComplianceLevel.PUPPET_2_7;
IPotentialProblemsAdvisor potentialProblems = options.getProblemsAdvisor();
if(potentialProblems == null)
potentialProblems = new DefaultPotentialProblemsAdvisor();
ppDr.setUp(complianceLevel, potentialProblems);
validatePPFile(ppDr, diagnostics, source, source.getParentFile(), monitor);
}
catch(Exception e) {
addExceptionDiagnostic(