Package org.drools.analytics.components

Examples of org.drools.analytics.components.AnalyticsAccumulateDescr


    return from;
  }

  private AnalyticsAccumulateDescr flatten(AccumulateDescr descr) {
    AnalyticsAccumulateDescr accumulate = new AnalyticsAccumulateDescr();

    accumulate.setInputPatternId(flatten(descr.getInputPattern()));
    accumulate.setInitCode(descr.getInitCode());
    accumulate.setActionCode(descr.getActionCode());
    accumulate.setReverseCode(descr.getReverseCode());
    accumulate.setResultCode(descr.getResultCode());

    // XXX: Array seems to be always null.
    // accumulate.setDeclarations(descr.getDeclarations());

    accumulate.setClassName(descr.getClassName());
    accumulate.setExternalFunction(descr.isExternalFunction());
    accumulate.setFunctionIdentifier(descr.getFunctionIdentifier());
    accumulate.setExpression(descr.getExpression());

    return accumulate;
  }
View Full Code Here

TOP

Related Classes of org.drools.analytics.components.AnalyticsAccumulateDescr

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.