|
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.KnowledgeBuilderConfigurationAdapter
public class KnowledgeBuilderConfigurationAdapter
| Constructor Summary | |
|---|---|
KnowledgeBuilderConfigurationAdapter(org.kie.internal.builder.KnowledgeBuilderConfiguration delegate)
|
|
| Method Summary | ||
|---|---|---|
org.kie.internal.builder.KnowledgeBuilderConfiguration |
getDelegate()
|
|
|
getOption(Class<T> option)
Gets an option value |
|
|
getOption(Class<T> option,
String key)
Gets an option value for the given option + key. |
|
|
getOptionKeys(Class<T> option)
Retrieves the set of all keys for a MultiValueKnowledgeBuilderOption. |
|
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 KnowledgeBuilderConfigurationAdapter(org.kie.internal.builder.KnowledgeBuilderConfiguration delegate)
| Method Detail |
|---|
public <T extends KnowledgeBuilderOption> void setOption(T option)
KnowledgeBuilderOptionsConfiguration
setOption in interface KnowledgeBuilderOptionsConfigurationoption - 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 SingleValueKnowledgeBuilderOption> T getOption(Class<T> option)
KnowledgeBuilderOptionsConfiguration
getOption in interface KnowledgeBuilderOptionsConfigurationoption - the option class for the option being requested
public <T extends MultiValueKnowledgeBuilderOption> T getOption(Class<T> option,
String key)
KnowledgeBuilderOptionsConfiguration
getOption in interface KnowledgeBuilderOptionsConfigurationoption - the option class for the option being requestedkey - the key for the option being requested
public <T extends MultiValueKnowledgeBuilderOption> Set<String> getOptionKeys(Class<T> option)
KnowledgeBuilderOptionsConfiguration
getOptionKeys in interface KnowledgeBuilderOptionsConfigurationoption - the option class for the requested keys
public void setProperty(String name,
String value)
PropertiesConfiguration
setProperty in interface PropertiesConfigurationpublic String getProperty(String name)
PropertiesConfiguration
getProperty in interface PropertiesConfigurationpublic org.kie.internal.builder.KnowledgeBuilderConfiguration 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 | |||||||||