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