Package org.drools.analytics

Examples of org.drools.analytics.Analyzer


    try {
     
      // create a specialized classloader

      Analyzer droolsanalyzer = new Analyzer();

      // get the list of files to be added to the rulebase
      String[] fileNames = getFileList();

      for (int i = 0; i < fileNames.length; i++) {
        compileAndAnalyzeFile(droolsanalyzer, fileNames[i]);
      }
     
      droolsanalyzer.fireAnalysis();
      droolsanalyzer.writeComponentsHTML(toFile.getAbsolutePath() + "/");
     
      System.out.println("Writing analytics report to " + toFile.getAbsolutePath() + "/report");
     
    } catch (Exception e) {
      throw new BuildException("RuleBaseTask failed: " + e.getMessage(),
View Full Code Here


    try {
     
      // create a specialized classloader

      Analyzer droolsanalyzer = new Analyzer();

      // get the list of files to be added to the rulebase
      String[] fileNames = getFileList();

      for (int i = 0; i < fileNames.length; i++) {
        compileAndAnalyzeFile(droolsanalyzer, fileNames[i]);
      }
     
      droolsanalyzer.fireAnalysis();
      droolsanalyzer.writeComponentsHTML(toFile.getAbsolutePath() + "/");
     
      System.out.println("Writing analytics report to " + toFile.getAbsolutePath() + "/report");
     
    } catch (Exception e) {
      throw new BuildException("RuleBaseTask failed: " + e.getMessage(),
View Full Code Here

TOP

Related Classes of org.drools.analytics.Analyzer

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.