|
KIE API 6.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KieBaseOptionsConfiguration
A base interface for type safe configurations
Method Summary | ||
---|---|---|
|
getOption(Class<T> option)
Gets an option value |
|
|
getOption(Class<T> option,
String key)
Gets an option value for the given option + key. |
|
|
setOption(T option)
Sets an option |
Method Detail |
---|
<T extends KieBaseOption> 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 SingleValueKieBaseOption> T getOption(Class<T> option)
option
- the option class for the option being requested
<T extends MultiValueKieBaseOption> T getOption(Class<T> option, String key)
option
- the option class for the option being requestedkey
- the key for the option being requested
|
KIE API 6.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |