|
|||||||
| PREV CLASS NEXT CLASS | NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--com.haley.haleyrules.jsr94.HaleyProperties
This class contains constants and the properties that can be configured for the HaleyRules engine through JSR94 APIs. It also has some utility methods related to the properties.
| Field Summary | |
static java.lang.String |
AGENDA_NAME
Each Haley ruleset consists of Haley agendas. |
static boolean |
DEFAULT_DEVELOPMENT
By default, the KnowledgeBaseFactory creates a non-development KnowledgeBase |
static int |
DEFAULT_ECHO_MAXIMUM_SIZE
The default value for the property KnowledgeBase_ECHO_MAXIMUM_SIZE. |
static int |
DEFAULT_ECHO_MINUTES_TO_WAIT_BEFORE_CLOSING
The default value for the property KnowledgeBase_ECHO_MINUTES_TO_WAIT_BEFORE_CLOSING. |
static int |
DEFAULT_UPDATE_GRANULARITY
The default value for the property KnowledgeBase_UPDATE_GRANULARITY. |
static int |
DEFAULT_WORKING_MEMORY_RUN_LIMIT
The default value for the property WorkingMemory_RUN_LIMIT. |
static java.lang.String |
KnowledgeBase_CONFIGURATION_LISTENER
Used in (re)loading the configuration file by a KnowledgeBase |
static java.lang.String |
KnowledgeBase_DEVELOPMENT
Whether or not the created KnowledgeBase should be a DevelopmentKnowledgeBase. |
static java.lang.String |
KnowledgeBase_ECHO_FILE_NAME
The file name to which information should be echoed. |
static java.lang.String |
KnowledgeBase_ECHO_MAXIMUM_SIZE
The maximim size of the echo file in kiloBytes |
static java.lang.String |
KnowledgeBase_ECHO_MINUTES_TO_WAIT_BEFORE_CLOSING
The number of minutes to wait before closing the echo file. |
static java.lang.String |
KnowledgeBase_ERROR_LISTENER
The error listener to associate with the KnowledgeBase. |
static java.lang.String |
KnowledgeBase_OBJECT
The object to associate with the KnowledgeBase |
static java.lang.String |
KnowledgeBase_UPDATE_GRANULARITY
The number of seconds since the last update after which to check for updates to the configuration during resets of working memory. |
static java.lang.String |
KnowledgeBase_WATCH_ACTIVATIONS
Whether or not the activations being created or removed in the DevelopmentKnowledgeBase should be traced. |
static java.lang.String |
KnowledgeBase_WATCH_ALL
Whether or not all the WATCH properties should be set. |
static java.lang.String |
KnowledgeBase_WATCH_CAUSES
Whether or not the causes for a goal in the DevelopmentKnowledgeBase should be traced. |
static java.lang.String |
KnowledgeBase_WATCH_COMPILATIONS
Whether or not the compilations for the DevelopmentKnowledgeBase should be traced. |
static java.lang.String |
KnowledgeBase_WATCH_DEPENDENCIES
Whether or not the dependencies being added to or removed from facts in the DevelopmentKnowledgeBase should be traced. |
static java.lang.String |
KnowledgeBase_WATCH_FACTS
Whether or not the facts being asserted and retracted in the DevelopmentKnowledgeBase should be traced. |
static java.lang.String |
KnowledgeBase_WATCH_GOALS
Whether or not the goals being asserted and retracted in the DevelopmentKnowledgeBase should be traced. |
static java.lang.String |
KnowledgeBase_WATCH_JAVA
Whether or not the CRget, CRinvoke, and CRset in the DevelopmentKnowledgeBase should be traced. |
static java.lang.String |
KnowledgeBase_WATCH_JOINS
Whether or not the joins for the DevelopmentKnowledgeBase should be traced. |
static java.lang.String |
KnowledgeBase_WATCH_PATTERNS
Whether or not the patterns for the DevelopmentKnowledgeBase should be traced. |
static java.lang.String |
KnowledgeBase_WATCH_RULES
Whether or not the rules being executed in the DevelopmentKnowledgeBase should be traced. |
static java.lang.String |
RULE_SERVICE_PROVIDER
This is the name for HaleyRules engine that is registered at the RuleServiceProviderManager. |
static java.lang.String |
RULESET_NAME
The concept of RuleSet in JSR94 corresponds to KnowledgeBase in HaleyRules engine. |
static java.lang.String |
WorkingMemory_RUN_LIMIT
The maximum number of activations to execute in a Haley WorkingMemory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String RULE_SERVICE_PROVIDER
public static final java.lang.String RULESET_NAME
RuleExecutionSetImpl.getRules()public static final java.lang.String AGENDA_NAME
RuleExecutionSetImpl.getRules()public static final java.lang.String WorkingMemory_RUN_LIMIT
DEFAULT_WORKING_MEMORY_RUN_LIMIT,
WorkingMemory.run(long)public static final java.lang.String KnowledgeBase_DEVELOPMENT
DEFAULT_DEVELOPMENT,
KnowledgeBaseFactory.newKnowledgeBase(boolean, ErrorListener, Object)public static final java.lang.String KnowledgeBase_WATCH_FACTS
DevelopmentKnowledgeBase.WATCH_FACTSpublic static final java.lang.String KnowledgeBase_WATCH_GOALS
DevelopmentKnowledgeBase.WATCH_GOALSpublic static final java.lang.String KnowledgeBase_WATCH_RULES
DevelopmentKnowledgeBase.WATCH_RULESpublic static final java.lang.String KnowledgeBase_WATCH_COMPILATIONS
DevelopmentKnowledgeBase.WATCH_COMPILATIONSpublic static final java.lang.String KnowledgeBase_WATCH_PATTERNS
DevelopmentKnowledgeBase.WATCH_PATTERNSpublic static final java.lang.String KnowledgeBase_WATCH_JOINS
DevelopmentKnowledgeBase.WATCH_JOINSpublic static final java.lang.String KnowledgeBase_WATCH_ACTIVATIONS
DevelopmentKnowledgeBase.WATCH_ACTIVATIONSpublic static final java.lang.String KnowledgeBase_WATCH_DEPENDENCIES
DevelopmentKnowledgeBase.WATCH_DEPENDENCIESpublic static final java.lang.String KnowledgeBase_WATCH_CAUSES
DevelopmentKnowledgeBase.WATCH_CAUSESpublic static final java.lang.String KnowledgeBase_WATCH_JAVA
DevelopmentKnowledgeBase.WATCH_JAVApublic static final java.lang.String KnowledgeBase_WATCH_ALL
DevelopmentKnowledgeBase.setWatchAll(boolean)public static final java.lang.String KnowledgeBase_ERROR_LISTENER
KnowledgeBaseFactory.newKnowledgeBase(boolean, ErrorListener, Object),
ErrorListenerpublic static final java.lang.String KnowledgeBase_OBJECT
KnowledgeBaseFactory.newKnowledgeBase(boolean, ErrorListener, Object)public static final java.lang.String KnowledgeBase_ECHO_FILE_NAME
KnowledgeBase.startEcho(String, int, int)public static final java.lang.String KnowledgeBase_ECHO_MAXIMUM_SIZE
DEFAULT_ECHO_MAXIMUM_SIZE,
KnowledgeBase.startEcho(String, int, int)public static final java.lang.String KnowledgeBase_ECHO_MINUTES_TO_WAIT_BEFORE_CLOSING
DEFAULT_ECHO_MINUTES_TO_WAIT_BEFORE_CLOSING,
KnowledgeBase.startEcho(String, int, int)public static final java.lang.String KnowledgeBase_UPDATE_GRANULARITY
DEFAULT_UPDATE_GRANULARITY,
KnowledgeBase.loadConfigurationFile(String, long, ConfigurationListener)public static final java.lang.String KnowledgeBase_CONFIGURATION_LISTENER
ConfigurationListenerpublic static final boolean DEFAULT_DEVELOPMENT
KnowledgeBaseFactory.newKnowledgeBase(boolean, ErrorListener, Object)public static final int DEFAULT_WORKING_MEMORY_RUN_LIMIT
WorkingMemory.run(long)public static final int DEFAULT_ECHO_MINUTES_TO_WAIT_BEFORE_CLOSING
KnowledgeBase.startEcho(String, int, int)public static final int DEFAULT_ECHO_MAXIMUM_SIZE
KnowledgeBase.startEcho(String, int, int)public static final int DEFAULT_UPDATE_GRANULARITY
KnowledgeBase.loadConfigurationFile(String, long, ConfigurationListener)
|
|||||||
| PREV CLASS NEXT CLASS | NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||