Package org.drools.reteoo

Examples of org.drools.reteoo.PropagationQueuingNode$AssertAction


            context.popRuleComponent();
        }       
       
        if ( context.getCurrentEntryPoint() != EntryPoint.DEFAULT && context.isAttachPQN() ) {
            context.setObjectSource( (ObjectSource) utils.attachNode( context,
                                                                      new PropagationQueuingNode( context.getNextId(),
                                                                                                  context.getObjectSource(),
                                                                                                  context ) ) );
            // the entry-point specific network nodes are attached, so, set context to default entry-point
            context.setCurrentEntryPoint( EntryPoint.DEFAULT );
        }
View Full Code Here


                              pattern,
                              alphaConstraints );

            if ( context.getCurrentEntryPoint() != EntryPoint.DEFAULT ) {
                context.setObjectSource( (ObjectSource) utils.attachNode( context,
                                                                          new PropagationQueuingNode( context.getNextId(),
                                                                                                      context.getObjectSource(),
                                                                                                      context ) ) );
                // the entry-point specific network nodes are attached, so, set context to default entry-point
                context.setCurrentEntryPoint( EntryPoint.DEFAULT );
            }
View Full Code Here

    @Override
    protected void doVisit(NetworkNode node,
                           Stack<NetworkNode> nodeStack,
                           StatefulKnowledgeSessionInfo info) {
        PropagationQueuingNode pqn = (PropagationQueuingNode) node;
        DefaultNodeInfo ni = (DefaultNodeInfo) info.getNodeInfo( node );
        PropagationQueueingNodeMemory memory = (PropagationQueueingNodeMemory) info.getSession().getNodeMemory( pqn );
        ni.setMemoryEnabled( true );
        ni.setActionQueueSize( memory.getSize() );
    }
View Full Code Here

                              pattern,
                              alphaConstraints );

            if ( context.getCurrentEntryPoint() != EntryPoint.DEFAULT ) {
                context.setObjectSource( (ObjectSource) utils.attachNode( context,
                                                                          new PropagationQueuingNode( context.getNextId(),
                                                                                                      context.getObjectSource(),
                                                                                                      context ) ) );
                // the entry-point specific network nodes are attached, so, set context to default entry-point
                context.setCurrentEntryPoint( EntryPoint.DEFAULT );
            }
View Full Code Here

        buildAlphaNodeChain( context, utils, pattern, alphaConstraints );
       
        if ( context.getCurrentEntryPoint() != EntryPoint.DEFAULT && context.isAttachPQN() ) {
            context.setObjectSource( (ObjectSource) utils.attachNode( context,
                                                                      new PropagationQueuingNode( context.getNextId(),
                                                                                                  context.getObjectSource(),
                                                                                                  context ) ) );
            // the entry-point specific network nodes are attached, so, set context to default entry-point
            context.setCurrentEntryPoint( EntryPoint.DEFAULT );
        }
View Full Code Here

                              pattern,
                              alphaConstraints );

            if ( context.getCurrentEntryPoint() != EntryPoint.DEFAULT ) {
                context.setObjectSource( (ObjectSource) utils.attachNode( context,
                                                                          new PropagationQueuingNode( context.getNextId(),
                                                                                                      context.getObjectSource(),
                                                                                                      context ) ) );
                // the entry-point specific network nodes are attached, so, set context to default entry-point
                context.setCurrentEntryPoint( EntryPoint.DEFAULT );
            }
View Full Code Here

                              pattern,
                              alphaConstraints );

            if ( context.getCurrentEntryPoint() != EntryPoint.DEFAULT ) {
                context.setObjectSource( (ObjectSource) utils.attachNode( context,
                                                                          new PropagationQueuingNode( context.getNextId(),
                                                                                                      context.getObjectSource(),
                                                                                                      context ) ) );
                // the entry-point specific network nodes are attached, so, set context to default entry-point
                context.setCurrentEntryPoint( EntryPoint.DEFAULT );
            }
View Full Code Here

            context.popRuleComponent();
        }       
       
        if ( context.getCurrentEntryPoint() != EntryPoint.DEFAULT && context.isAttachPQN() ) {
            context.setObjectSource( (ObjectSource) utils.attachNode( context,
                                                                      new PropagationQueuingNode( context.getNextId(),
                                                                                                  context.getObjectSource(),
                                                                                                  context ) ) );
            // the entry-point specific network nodes are attached, so, set context to default entry-point
            context.setCurrentEntryPoint( EntryPoint.DEFAULT );
        }
View Full Code Here

                              pattern,
                              alphaConstraints );

            if ( context.getCurrentEntryPoint() != EntryPoint.DEFAULT ) {
                context.setObjectSource( (ObjectSource) utils.attachNode( context,
                                                                          new PropagationQueuingNode( context.getNextId(),
                                                                                                      context.getObjectSource(),
                                                                                                      context ) ) );
                // the entry-point specific network nodes are attached, so, set context to default entry-point
                context.setCurrentEntryPoint( EntryPoint.DEFAULT );
            }
View Full Code Here

                              pattern,
                              alphaConstraints );

            if ( context.getCurrentEntryPoint() != EntryPoint.DEFAULT ) {
                context.setObjectSource( (ObjectSource) utils.attachNode( context,
                                                                          new PropagationQueuingNode( context.getNextId(),
                                                                                                      context.getObjectSource(),
                                                                                                      context ) ) );
                // the entry-point specific network nodes are attached, so, set context to default entry-point
                context.setCurrentEntryPoint( EntryPoint.DEFAULT );
            }
View Full Code Here

TOP

Related Classes of org.drools.reteoo.PropagationQueuingNode$AssertAction

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.