Package org.guvnor.common.services.shared.rulenames

Examples of org.guvnor.common.services.shared.rulenames.RuleNameUpdateEvent


            ruleNames.put( packageName, kieModuleMetaData.getRuleNamesInPackage( packageName ) );
        }

        ruleNames.put( DEFAULTPKG, kieModuleMetaData.getRuleNamesInPackage( DEFAULTPKG ) );

        ruleNameUpdateEvent.fire( new RuleNameUpdateEvent( ruleNames ) );
    }
View Full Code Here


            ruleNames.put(packageName, kieModuleMetaData.getRuleNamesInPackage(packageName));
        }

        ruleNames.put(DEFAULTPKG, kieModuleMetaData.getRuleNamesInPackage(DEFAULTPKG));

        ruleNameUpdateEvent.fire(new RuleNameUpdateEvent(ruleNames));
    }
View Full Code Here

        ArrayList<String> rules = new ArrayList<String>();
        rules.add("Rule 1");
        rules.add("Rule 2");
        ruleNames.put("testPackage", rules);

        ruleNamesService.onRuleNamesUpdated(new RuleNameUpdateEvent(ruleNames));

        assertEquals(2, ruleNamesService.getRuleNames().size());
        assertEquals("Rule 1", ruleNamesService.getRuleNames().get(0));
        assertEquals("Rule 2", ruleNamesService.getRuleNames().get(1));
View Full Code Here

TOP

Related Classes of org.guvnor.common.services.shared.rulenames.RuleNameUpdateEvent

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.