Package org.drools.spring.metadata

Examples of org.drools.spring.metadata.KnowledgeHelperArgumentMetadata


                });
                consequenceTwoArgumentMetadata = new ArgumentMetadata[]{
                        new FactArgumentMetadata(null, Object.class),
                        new FactArgumentMetadata(null, long.class),
                        new DataArgumentMetadata("value", int.class),
                        new KnowledgeHelperArgumentMetadata()
                };
                expectedDeclarationObjectTypes.add(new BeanObjectType(Object.class));
                expectedDeclarationObjectTypes.add(new BeanObjectType(long.class));
                expectedConsequenceMethodNames.add(consequenceTwoMethod.getName());
View Full Code Here


public class KnowledgeHelperArgumentMetadataTest extends TestCase {

    public void testCreate() throws Exception {
        Rule rule = new Rule("for-test");
        KnowledgeHelperArgumentMetadata metadata = new KnowledgeHelperArgumentMetadata();

        Argument argument = metadata.createArgument(rule);

        assertTrue(argument instanceof KnowledgeHelperArgument);
    }
View Full Code Here

TOP

Related Classes of org.drools.spring.metadata.KnowledgeHelperArgumentMetadata

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.