public int fireAllRules(global::org.drools.runtime.rule.AgendaFilter par0)
 {
     global::net.sf.jni4net.jni.JNIEnv @__env = this.Env;
     using (new global::net.sf.jni4net.jni.LocalFrame(@__env, 12)){
         return((int)(@__env.CallIntMethod(this, global::org.drools.runtime.rule.@__StatefulRuleSession._fireAllRules1, global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.runtime.rule.AgendaFilter>(@__env, par0))));
     }
 }
 public void fireUntilHalt(global::org.drools.runtime.rule.AgendaFilter par0)
 {
     global::net.sf.jni4net.jni.JNIEnv @__env = this.Env;
     using (new global::net.sf.jni4net.jni.LocalFrame(@__env, 12)){
         @__env.CallVoidMethod(this, global::org.drools.runtime.rule.@__StatefulRuleSession._fireUntilHalt3, global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.runtime.rule.AgendaFilter>(@__env, par0));
     }
 }
Пример #3
0
        private static bool accept0(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle par0)
        {
            // (Lorg/drools/runtime/rule/Activation;)Z
            // (Lorg/drools/runtime/rule/Activation;)Z
            global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
            bool @__return = default(bool);

            try {
                global::org.drools.runtime.rule.AgendaFilter @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.rule.AgendaFilter>(@__env, @__obj);
                @__return = ((bool)(@__real.accept(global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.runtime.rule.Activation>(@__env, par0))));
            }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
            return(@__return);
        }