Package org.drools.verifier.components

Examples of org.drools.verifier.components.VerifierComponent


   */
  private VerifierFromDescr flatten(FromDescr descr, VerifierComponent parent)
      throws UnknownDescriptionException {
    VerifierFromDescr from = new VerifierFromDescr();

    VerifierComponent ds = flatten(descr.getDataSource(), from);
    from.setDataSourceId(ds.getId());
    from.setDataSourceType(ds.getComponentType());
    from.setParent(parent);

    return from;
  }
View Full Code Here


      data.add(variable);
    }

    // flatten source.
    if (descr.getSource() != null) {
      VerifierComponent source = flatten(descr.getSource(), pattern);
      pattern.setSourceId(source.getId());
      pattern.setSourceType(source.getComponentType());
    } else {
      pattern.setSourceId(0);
      pattern.setSourceType(VerifierComponentType.NOTHING);
    }
    solvers.startPatternSolver(pattern);
View Full Code Here

TOP

Related Classes of org.drools.verifier.components.VerifierComponent

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.