Package gov.nist.scap.xccdf.document

Examples of gov.nist.scap.xccdf.document.DefaultScoringModelDeclaration


  }

  public void performScoring(Map<String, ScoringModel> supportedScoringModels) {
    Collection<ScoringModelDeclaration> declarations = document.getDeclaredScoringModels();
    if (declarations.isEmpty()) {
      declarations = Collections.<ScoringModelDeclaration>singleton(new DefaultScoringModelDeclaration(DefaultScoringModel.DEFAULT_SCORING_MODEL));
    }

    for (ScoringModelDeclaration modelDeclaration : declarations) {
      String system = modelDeclaration.getSystemId();
      if (supportedScoringModels.containsKey(system)) {
View Full Code Here


      for (ParamType param : paramData) {
        parameters.put(param.getName(), param.getStringValue());
      }
     
    }
    return new DefaultScoringModelDeclaration(systemId, parameters);
  }
View Full Code Here

      for (ParamType param : paramData) {
        parameters.put(param.getName(), param.getStringValue());
      }
     
    }
    return new DefaultScoringModelDeclaration(systemId, parameters);
  }
View Full Code Here

TOP

Related Classes of gov.nist.scap.xccdf.document.DefaultScoringModelDeclaration

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.