All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.drools.runtime.rule.RuleContext Maven / Gradle / Ivy

There is a newer version: 7.6.0.Final
Show newest version
package org.drools.runtime.rule;

import org.drools.definition.rule.Rule;
import org.drools.runtime.KnowledgeContext;

public interface RuleContext extends KnowledgeContext {
    
    /**
     * Returns the active Rule for the current context
     *  
     * @return
     */
    Rule getRule();

    /**
     * Returns the current Activation for the current context
     * 
     * @return
     */
    Activation getActivation();
    
    /**
     * Logically inserts a fact into the KnowledgeSession, justified by the current
     * rule context.
     * 
     * @param object the fact to insert into the knowledge session
     */
    void insertLogical(Object object);
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy