Package org.drools.scorecards

Examples of org.drools.scorecards.ScorecardCompiler


    public String getRawDRL(AssetItem asset) {
        return getDRL(asset.getBinaryContentAttachment());
    }

    private String getDRL(InputStream stream) {
        ScorecardCompiler compiler = new ScorecardCompiler(ScorecardCompiler.DrlType.EXTERNAL_OBJECT_MODEL);
        if (compiler.compileFromExcel(stream)) {
            return compiler.getDRL();
        }
        return "";
    }
View Full Code Here

TOP

Related Classes of org.drools.scorecards.ScorecardCompiler

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.