Examples of scheduleItem()


Examples of org.drools.common.InternalAgenda.scheduleItem()

            if ( item == null ) {
                item = agenda.createScheduledAgendaItem( leftTuple,
                                                         context,
                                                         this );
            }
            agenda.scheduleItem( (ScheduledAgendaItem) item,
                                 workingMemory );
            leftTuple.increaseActivationCountForEvents();
            item.setActivated( true );
            //            workingMemory.removeLogicalDependencies( item,
            //                                                     context,
View Full Code Here

Examples of org.drools.common.InternalAgenda.scheduleItem()

                    memory.setActivationGroup( workingMemory.getAgenda().getActivationGroup( this.rule.getActivationGroup() ) );
                }
                memory.getActivationGroup().addActivation( item );
            }

            agenda.scheduleItem( item );
            tuple.setActivation( item );

            if ( this.tupleMemoryEnabled ) {
                memory.getTupleMemory().add( tuple );
            }
View Full Code Here

Examples of org.drools.common.InternalAgenda.scheduleItem()

            final ScheduledAgendaItem item = agenda.createScheduledAgendaItem( tuple,
                                                                               context,
                                                                               this.rule,
                                                                               this.subrule );

            agenda.scheduleItem( item,
                                 workingMemory );
            tuple.setObject( item );

            item.setActivated( true );
            ((EventSupport) workingMemory).getAgendaEventSupport().fireActivationCreated( item,
View Full Code Here

Examples of org.drools.common.InternalAgenda.scheduleItem()

                item = agenda.createScheduledAgendaItem( leftTuple,
                                                         context,
                                                         this.rule,
                                                         this.subrule );
            }
            agenda.scheduleItem( (ScheduledAgendaItem) item,
                                 workingMemory );
            item.setActivated( true );
            //            workingMemory.removeLogicalDependencies( item,
            //                                                     context,
            //                                                     this.rule );
View Full Code Here

Examples of org.drools.common.InternalAgenda.scheduleItem()

                                                                      context,
                                                                      this.rule,
                                                                      this.subrule );
            final TerminalNodeMemory memory = (TerminalNodeMemory) workingMemory.getNodeMemory( this );

            agenda.scheduleItem( item );
            tuple.setActivation( item );

            if ( this.tupleMemoryEnabled ) {
                memory.getTupleMemory().add( tuple );
            }
View Full Code Here

Examples of org.drools.common.InternalAgenda.scheduleItem()

        if ( timer != null ) {
            final ScheduledAgendaItem item = agenda.createScheduledAgendaItem( tuple,
                                                                               context,
                                                                               this );

            agenda.scheduleItem( item,
                                 workingMemory );
            tuple.setObject( item );

            item.setActivated( true );
            tuple.increaseActivationCountForEvents();
View Full Code Here

Examples of org.drools.common.InternalAgenda.scheduleItem()

            if ( item == null ) {
                item = agenda.createScheduledAgendaItem( leftTuple,
                                                         context,
                                                         this );
            }
            agenda.scheduleItem( (ScheduledAgendaItem) item,
                                 workingMemory );
            leftTuple.increaseActivationCountForEvents();
            item.setActivated( true );
            //            workingMemory.removeLogicalDependencies( item,
            //                                                     context,
View Full Code Here

Examples of org.drools.common.InternalAgenda.scheduleItem()

                    memory.setActivationGroup( workingMemory.getAgenda().getActivationGroup( this.rule.getActivationGroup() ) );
                }
                memory.getActivationGroup().addActivation( item );
            }

            agenda.scheduleItem( item );
            tuple.setActivation( item );
           
            if ( !workingMemory.isSequential() ) {
                memory.getTupleMemory().add( tuple );
            }
View Full Code Here

Examples of org.drools.common.InternalAgenda.scheduleItem()

        if ( timer != null ) {
            final ScheduledAgendaItem item = agenda.createScheduledAgendaItem( tuple,
                                                                               context,
                                                                               this );

            agenda.scheduleItem( item,
                                 workingMemory );
            tuple.setObject( item );

            item.setActivated( true );
            tuple.increaseActivationCountForEvents();
View Full Code Here

Examples of org.drools.common.InternalAgenda.scheduleItem()

            if ( item == null ) {
                item = agenda.createScheduledAgendaItem( leftTuple,
                                                         context,
                                                         this );
            }
            agenda.scheduleItem( (ScheduledAgendaItem) item,
                                 workingMemory );
            leftTuple.increaseActivationCountForEvents();
            item.setActivated( true );
            //            workingMemory.removeLogicalDependencies( item,
            //                                                     context,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.