|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.nasa.arc.brahms.common.rt.BrahmsObjectCtx gov.nasa.arc.brahms.common.rt.TriggerCtx gov.nasa.arc.brahms.vm.rt.VMTriggerCtx
public class VMTriggerCtx
The VMTriggerCtx is a detectable action that maintains the information about when the trigger or action part of the detectable was executed and what belief triggered the action. The trigger context also contains the behavior of how and when to match a belief with the detectable condition. On a successfull match the detectable action is executed.
TriggerCtx
,
Serialized FormField Summary |
---|
Fields inherited from interface gov.nasa.arc.brahms.common.rt.IRuntimeConstants |
---|
ABORTED, ACTIVE, ACTIVITY, AVAILABLE, COMPLETED, CONSEQUENCE, DETECTABLE, ENDED, ENGINE, EXTERNAL_AGENT, FROM, IMPASSED, INITIAL, INTERRUPTED, JAVA_PROPERTY, sABORTED, sACTIVE, sAVAILABLE, sCOMPLETED, sENDED, sIMPASSED, sINTERRUPTED, sUNAVAILABLE, TO, TRANSFER, UNAVAILABLE |
Constructor Summary | |
---|---|
VMTriggerCtx(java.lang.String activator)
Constructor, creates a new context for a trigger action specified by the activator string. |
|
VMTriggerCtx(VMDetectableCtx parent)
Constructor, creates a new context for a trigger action for the specified detectable. |
Method Summary |
---|
Methods inherited from class gov.nasa.arc.brahms.common.rt.TriggerCtx |
---|
addUsedVariable, getActivator, getParent, getTriggeringBelief, getUsedVariables, removeUsedVariable, setTriggeringBelief |
Methods inherited from class gov.nasa.arc.brahms.common.rt.BrahmsObjectCtx |
---|
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setContextFor, setEndTime, setID, setStartTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gov.nasa.arc.brahms.common.rt.IBrahmsObjectCtx |
---|
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setEndTime, setID, setStartTime |
Constructor Detail |
---|
public VMTriggerCtx(VMDetectableCtx parent)
parent
- the parent VMDetectableCtxpublic VMTriggerCtx(java.lang.String activator)
activator
- the activator for the trigger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |