|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.arc.brahms.common.rt.BrahmsObjectCtx
gov.nasa.arc.brahms.common.rt.DeleteCtx
gov.nasa.arc.brahms.vm.rt.VMDeleteCtx
public class VMDeleteCtx
The VMDeleteCtx is a DeleteCtx with specializations for use in the virtual machine. A DeleteCtx is the context for an executed delete operation. It defines the delete operation that was executed, what frame executed the operation and defines what element(s) was/were marked for deletion.
DeleteCtx
,
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 | |
---|---|
VMDeleteCtx(Delete delete)
Constructor, creates a new delete context for the specified delete operation. |
Method Summary | |
---|---|
java.util.List<java.lang.Object> |
getDeletedElements()
Returns the elements that are to be deleted. |
boolean |
handleDiscreteEvent(gov.nasa.arc.brahms.vm.events.DiscreteEvent evt)
Process the specified discrete event. |
boolean |
handleDiscreteEvent(gov.nasa.arc.brahms.vm.events.DiscreteEvent evt,
gov.nasa.arc.brahms.vm.events.IDiscreteEventHandlerFactory ehf)
Handles the specified discrete event by selecting the appropriate event handler from the specified event handler factory. |
protected void |
onExecute(gov.nasa.arc.brahms.vm.events.DiscreteEvent evt)
Executes the delete operation |
Methods inherited from class gov.nasa.arc.brahms.common.rt.DeleteCtx |
---|
addDeletedElement, getParent, getUsedVariable, hasDeletedElements, removeDeletedElement, setParent, setUsedVariable, toString |
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, 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 VMDeleteCtx(Delete delete)
delete
- the delete operation for which this context is the contextMethod Detail |
---|
public java.util.List<java.lang.Object> getDeletedElements() throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
getDeletedElements
in interface IDeleteCtx
getDeletedElements
in class DeleteCtx