public interface KieBaseOptionsConfiguration
Modifier and Type | Method and Description |
---|---|
<T extends SingleValueKieBaseOption> |
getOption(Class<T> option)
Gets an option value
|
<T extends MultiValueKieBaseOption> |
getOption(Class<T> option,
String key)
Gets an option value for the given option + key.
|
<T extends KieBaseOption> |
setOption(T option)
Sets an option
|
<T extends KieBaseOption> void setOption(T option)
T
- Toption
- 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 SingleValueKieBaseOption> T getOption(Class<T> option)
T
- Toption
- the option class for the option being requested<T extends MultiValueKieBaseOption> T getOption(Class<T> option, String key)
T
- Toption
- the option class for the option being requestedkey
- the key for the option being requestedCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.