Package org.drools

Source Code of org.drools.QueryTerminalNodeActivationListenerFactory

package org.drools;

import org.drools.reteoo.LeftTupleSource;
import org.drools.reteoo.QueryTerminalNode;
import org.drools.reteoo.TerminalNode;
import org.drools.reteoo.builder.BuildContext;
import org.drools.rule.GroupElement;
import org.drools.rule.Rule;

public class QueryTerminalNodeActivationListenerFactory implements ActivationListenerFactory  {
    public static final QueryTerminalNodeActivationListenerFactory INSTANCE = new QueryTerminalNodeActivationListenerFactory();

    public TerminalNode createActivationListener(int id,
                                                 LeftTupleSource source,
                                                 Rule rule,
                                                 GroupElement subrule,
                                                 int subruleIndex,
                                                 BuildContext context,
                                                 Object... args) {
        return new QueryTerminalNode( id, source, rule, subrule, subruleIndex, context );
    }

}
TOP

Related Classes of org.drools.QueryTerminalNodeActivationListenerFactory

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.