public class RuleContextProviderImpl extends Object implements RuleContextProvider
Modifier and Type | Method and Description |
---|---|
void |
addGlobals(String scope,
Map<String,Object> global) |
void |
addKieBase(String scope,
org.kie.api.KieBase kbase) |
static RuleContextProviderImpl |
get() |
Map<String,Object> |
getGlobals(String scope) |
org.kie.api.KieBase |
getKieBase(String scope) |
void |
initialize() |
public static RuleContextProviderImpl get()
public void initialize()
public org.kie.api.KieBase getKieBase(String scope)
getKieBase
in interface RuleContextProvider
public Map<String,Object> getGlobals(String scope)
getGlobals
in interface RuleContextProvider
public void addGlobals(String scope, Map<String,Object> global)
addGlobals
in interface RuleContextProvider
public void addKieBase(String scope, org.kie.api.KieBase kbase)
addKieBase
in interface RuleContextProvider
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.