public interface KnowledgeBuilderOptionsConfiguration
Modifier and Type | Method and Description |
---|---|
<T extends SingleValueKnowledgeBuilderOption> |
getOption(Class<T> option)
Gets an option value
|
<T extends MultiValueKnowledgeBuilderOption> |
getOption(Class<T> option,
String key)
Gets an option value for the given option + key.
|
<T extends MultiValueKnowledgeBuilderOption> |
getOptionKeys(Class<T> option)
Retrieves the set of all keys for a MultiValueKnowledgeBuilderOption.
|
<T extends KnowledgeBuilderOption> |
setOption(T option)
Sets an option
|
<T extends KnowledgeBuilderOption> void setOption(T option)
option
- the option to be set. As options are type safe, the option
itself contains the option key, and so a single parameter
is enough.<T extends SingleValueKnowledgeBuilderOption> T getOption(Class<T> option)
option
- the option class for the option being requested<T extends MultiValueKnowledgeBuilderOption> T getOption(Class<T> option, String key)
option
- the option class for the option being requestedkey
- the key for the option being requested<T extends MultiValueKnowledgeBuilderOption> Set<String> getOptionKeys(Class<T> option)
option
- the option class for the requested keysCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.