Package gov.nist.scap.cpe.language.eval

Examples of gov.nist.scap.cpe.language.eval.CPEEvaluatorImpl


    for (CPEDictionary dictionary : dictionaries) {
      handleCheckResults(results, dictionary);
    }

    if (platformSpecification != null) {
      CPEEvaluator evaluator = new CPEEvaluatorImpl(foundCPENames,
          results);
      for (Platform<?> platform : platformSpecification.getPlatforms()) {
        String platformId = platform.getId();
        CPEEvaluator.Result result;
        try {
          result = evaluator.evaluate(platform);
        } catch (CPELanguageEvaluationException e) {
          log.error("unable to evaluate platform: " + platformId, e);
          result = CPEEvaluator.Result.ERROR;
        }
        cpeLanguageToStatusMap.put(platformId, result);
View Full Code Here

TOP

Related Classes of gov.nist.scap.cpe.language.eval.CPEEvaluatorImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.