Package io.gorules.zen
Class ZenEngineConfig
java.lang.Object
io.gorules.zen.ZenEngineConfig
Configuration for ZenEngineWrapper.
-
Constructor Summary
ConstructorsConstructorDescriptionZenEngineConfig(DecisionLoader loader, int maxDepth, boolean enableTrace) Create configuration. -
Method Summary
Modifier and TypeMethodDescriptionGet the decision loader.intGet maximum evaluation depth.booleanCheck if tracing is enabled.
-
Constructor Details
-
ZenEngineConfig
Create configuration.- Parameters:
loader- Decision loadermaxDepth- Maximum evaluation depthenableTrace- Whether to enable tracing
-
-
Method Details
-
getLoader
Get the decision loader.- Returns:
- Decision loader
-
getMaxDepth
public int getMaxDepth()Get maximum evaluation depth.- Returns:
- Maximum depth
-
isEnableTrace
public boolean isEnableTrace()Check if tracing is enabled.- Returns:
- true if tracing enabled
-