com.github.chen0040.drools.StatelessRuleEngine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of friendly-drools Show documentation
Show all versions of friendly-drools Show documentation
Friendly wrapper that provides useful utilities over Drools engine
The newest version!
package com.github.chen0040.drools;
import org.kie.api.command.Command;
import org.kie.api.runtime.ExecutionResults;
import org.kie.api.runtime.StatelessKieSession;
import java.util.List;
/**
* Created by xschen on 11/7/16.
*/
public interface StatelessRuleEngine extends RuleEngine {
ExecutionResults execute(List commands);
void insert(List commands, String identifier, Object obj);
void setGlobal(List commands, String identifier, Object obj, boolean out);
void query(List commands, String identifier, String query);
StatelessKieSession getSession();
}