Package org.woped.config.metrics

Examples of org.woped.config.metrics.ConfigurationDocument.addNewConfiguration()


  /**
   * Saves/exports the specified metrics to the specified file
   */
  public boolean save(List<String> metricIDs, File exportFile) {
    ConfigurationDocument confDoc = ConfigurationDocument.Factory.newInstance(xmlOptions);
    confDoc.addNewConfiguration();
    confDoc.getConfiguration().addNewVariables();
    confDoc.getConfiguration().addNewAlgorithms();
    confDoc.getConfiguration().addNewAlgorithmGroups();
   
    for(String metricID : metricIDs){
View Full Code Here


  public void addNewMetricFile(String filePath) {
    if(!fileMap.containsValue(filePath))
      fileMap.put(fileMap.size(), filePath);
   
    ConfigurationDocument c = ConfigurationDocument.Factory.newInstance();
    c.addNewConfiguration();
    confMap.put(fileMap.size() - 1, c);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.