|
Knowledge API Legacy5 Adapter 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.impl.adapters.KnowledgeBaseConfigurationAdapter
public class KnowledgeBaseConfigurationAdapter
| Constructor Summary | |
|---|---|
KnowledgeBaseConfigurationAdapter(org.kie.api.KieBaseConfiguration delegate)
|
|
| Method Summary | ||
|---|---|---|
org.kie.api.KieBaseConfiguration |
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 KnowledgeBaseConfigurationAdapter(org.kie.api.KieBaseConfiguration delegate)
| Method Detail |
|---|
public <T extends KnowledgeBaseOption> void setOption(T option)
KnowledgeBaseOptionsConfiguration
setOption in interface KnowledgeBaseOptionsConfigurationoption - 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 SingleValueKnowledgeBaseOption> T getOption(Class<T> option)
KnowledgeBaseOptionsConfiguration
getOption in interface KnowledgeBaseOptionsConfigurationoption - the option class for the option being requested
public <T extends MultiValueKnowledgeBaseOption> T getOption(Class<T> option,
String key)
KnowledgeBaseOptionsConfiguration
getOption in interface KnowledgeBaseOptionsConfigurationoption - 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.KieBaseConfiguration getDelegate()
|
Knowledge API Legacy5 Adapter 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||