Package org.drools.template

Examples of org.drools.template.ObjectDataCompiler


        }
        return resources;
    }

    private Resource expand(InputStream is, RuleParameters ruleParameters) {
        ObjectDataCompiler converter = new ObjectDataCompiler();
        Collection<RuleParameters> parameters = new ArrayList<RuleParameters>();
        parameters.add(ruleParameters);
        String drl = converter.compile(parameters, is);
        logger.trace("\n------------\n{}\n------------", drl);
        Reader rdr = new StringReader(drl);
        return ResourceFactory.newReaderResource(rdr);
    }
View Full Code Here

TOP

Related Classes of org.drools.template.ObjectDataCompiler

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.