Package org.drools.spi

Examples of org.drools.spi.DefaultKnowledgeHelper


            }

            WorkingMemory workingMemory = tuple.getWorkingMemory( );

            dict.setdefault( new PyString( "drools".intern( ) ),
                             Py.java2py( new DefaultKnowledgeHelper( this.rule,
                                                                     tuple ) ) );

            Map appDataMap = workingMemory.getApplicationDataMap( );

            for ( Iterator keyIter = appDataMap.keySet( ).iterator( ); keyIter.hasNext( ); )
View Full Code Here


    public KnowledgeHelperArgument(Rule rule) {
        this.rule = rule;
    }

    public Object getValue(Tuple tuple) {
        return new DefaultKnowledgeHelper(rule, tuple);
    }
View Full Code Here

    {
        try
        {
            this.consequenceInvoker.invoke( tuple,
                                            this.declarations,
                                            new DefaultKnowledgeHelper( this.rule,
                                                                        tuple ),
                                            tuple.getWorkingMemory().getApplicationDataMap() );
        }
        catch ( Exception e )
        {
View Full Code Here

TOP

Related Classes of org.drools.spi.DefaultKnowledgeHelper

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.