Package org.drools.guvnor.client.rpc

Examples of org.drools.guvnor.client.rpc.WorkingSetConfigData


    private static List<String> getConstraintRulesFromWorkingSets(RuleAsset[] workingSets) {
        List<String> constraintRules = new LinkedList<String>();

        if (workingSets != null) {
            for (RuleAsset workingSet : workingSets) {
                WorkingSetConfigData wsConfig = (WorkingSetConfigData) workingSet.content;
                if (wsConfig.constraints != null) {
                    for (ConstraintConfiguration config : wsConfig.constraints) {
                        constraintRules.add(ConstraintsFactory.getInstance().getVerifierRule(config));
                    }
                }
View Full Code Here


                log.error("error marshalling asset content: " + ruleAsset.getName(),
                        e);
                throw new SerializationException(e.getMessage());
            }
        } else {
            ruleAsset.setContent(new WorkingSetConfigData());
        }
    }
View Full Code Here

TOP

Related Classes of org.drools.guvnor.client.rpc.WorkingSetConfigData

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.