Package com.tnsai.context.decision
Enum Class DecisionTrigger.TriggerType
- All Implemented Interfaces:
Serializable,Comparable<DecisionTrigger.TriggerType>,Constable
- Enclosing class:
DecisionTrigger
Type of trigger that initiated the decision.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDecision triggered by another agentDecision triggered by external API callDecision triggered by belief revisionDecision triggered by error conditionDecision triggered by goal activation in BDIManual trigger for debuggingDecision triggered by scheduled taskDecision triggered by system eventDecision triggered by direct user request -
Method Summary
Modifier and TypeMethodDescriptionstatic DecisionTrigger.TriggerTypeReturns the enum constant of this class with the specified name.static DecisionTrigger.TriggerType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
USER_REQUEST
Decision triggered by direct user request -
SYSTEM_EVENT
Decision triggered by system event -
SCHEDULED
Decision triggered by scheduled task -
AGENT_REQUEST
Decision triggered by another agent -
GOAL_ACTIVATION
Decision triggered by goal activation in BDI -
BELIEF_CHANGE
Decision triggered by belief revision -
API_CALL
Decision triggered by external API call -
ERROR_HANDLING
Decision triggered by error condition -
MANUAL
Manual trigger for debugging
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-