|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KnowledgeAgentConfiguration
This class configures and allows inspection of the current configuration of a KnowledgeAgent
drools.agent.scanResources = <true|false>
drools.agent.scanDirectories = <true|false>
drools.agent.newInstance = <true|false>
drools.agent.monitorChangeSetEvents = <true|false>
drools.agent.useKBaseClassLoaderForCompiling = <false|true>
drools.agent.validationTimeout = <milliseconds>
KnowledgeAgent
Method Summary | |
---|---|
int |
getValidationTimeout()
|
boolean |
isMonitorChangeSetEvents()
|
boolean |
isNewInstance()
Returns the configured state of the drools.agent.newInstance option. |
boolean |
isScanDirectories()
|
boolean |
isScanResources()
|
boolean |
isUseKBaseClassLoaderForCompiling()
|
Methods inherited from interface org.drools.PropertiesConfiguration |
---|
getProperty, setProperty |
Method Detail |
---|
boolean isScanResources()
boolean isScanDirectories()
boolean isMonitorChangeSetEvents()
boolean isNewInstance()
Returns the configured state of the drools.agent.newInstance
option.
If true (default), the agent creates a brand new KnowledgeBase every time there is a change to the source assets. Previously created sessions will continue to reference and use the previously existing KnowledgeBase, so this option should be used in scenarios where sessions are short lived, as they are never updated.
If false will, the agent keeps and incrementally update the existing knowledge base, automatically updating all existing sessions. This option should be used for scenarios with long living sessions that should be updated automatically when the source assets change.
drools.agent.newInstance
option.boolean isUseKBaseClassLoaderForCompiling()
int getValidationTimeout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |