|
Knowledge API Legacy5 Adapter 6.1.0.Final | |||||||||
| 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 | ||
|---|---|---|
boolean |
equals(Object obj)
|
|
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 |
|
int |
hashCode()
|
|
|
setOption(T option)
Sets an option |
|
void |
setProperty(String name,
String value)
Sets a property value |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, 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()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
Knowledge API Legacy5 Adapter 6.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||