|
Knowledge API Legacy5 Adapter 6.0.0.CR4-Pre1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.impl.adapters.KnowledgeSessionConfigurationAdapter
public class KnowledgeSessionConfigurationAdapter
| Constructor Summary | |
|---|---|
KnowledgeSessionConfigurationAdapter(org.kie.api.runtime.KieSessionConfiguration delegate)
|
|
| Method Summary | ||
|---|---|---|
org.kie.api.runtime.KieSessionConfiguration |
getDelegate()
|
|
|
getOption(Class<T> option)
Gets an option value |
|
|
getOption(Class<T> option,
String key)
Gets an option value for the given option + key. |
|
String |
getProperty(String name)
Gets a property value |
|
|
setOption(T option)
Sets an option |
|
void |
setProperty(String name,
String value)
Sets a property value |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KnowledgeSessionConfigurationAdapter(org.kie.api.runtime.KieSessionConfiguration delegate)
| Method Detail |
|---|
public <T extends KnowledgeSessionOption> void setOption(T option)
KnowledgeSessionOptionsConfiguration
setOption in interface KnowledgeSessionOptionsConfigurationoption - the option to be set. As options are type safe, the option
itself contains the option key, and so a single parameter
is enough.public <T extends SingleValueKnowledgeSessionOption> T getOption(Class<T> option)
KnowledgeSessionOptionsConfiguration
getOption in interface KnowledgeSessionOptionsConfigurationoption - the option class for the option being requested
public <T extends MultiValueKnowledgeSessionOption> T getOption(Class<T> option,
String key)
KnowledgeSessionOptionsConfiguration
getOption in interface KnowledgeSessionOptionsConfigurationoption - the option class for the option being requestedkey - the key for the option being requested
public void setProperty(String name,
String value)
PropertiesConfiguration
setProperty in interface PropertiesConfigurationpublic String getProperty(String name)
PropertiesConfiguration
getProperty in interface PropertiesConfigurationpublic org.kie.api.runtime.KieSessionConfiguration getDelegate()
|
Knowledge API Legacy5 Adapter 6.0.0.CR4-Pre1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||