|
JIVE Platform Release 0.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutionOccurrence
A portion of execution within a program execution history consisting of an
environment in which events occur. An ExecutionOccurrence
is
initiated by a MessageSend
from an immediately preceding
execution.
This list of events occurring within an execution occurrence are ordered by when they arose during the program execution. A message send is a special type of event occurrence that results in another execution occurrence. Therefore, events in the resulting execution (and so on recursively) occur in the program execution history before any events occurring after the message send in the original execution occurrence.
SequenceModel
,
EventOccurrence
,
Message
Nested Class Summary | |
---|---|
static interface |
ExecutionOccurrence.Exporter
A reverse-builder for execution occurrences. |
static interface |
ExecutionOccurrence.Importer
A builder for execution occurrences. |
Method Summary | |
---|---|
SequenceModel |
containingModel()
Returns the SequenceModel in which the execution occurrence
belongs. |
ContourID |
context()
Returns the context identifier of the execution occurrence. |
long |
duration()
Returns the number of events occurring while the execution occurrence is active. |
List<EventOccurrence> |
events()
Returns the list of events that occurred within the execution occurrence. |
void |
export(ExecutionOccurrence.Exporter exporter)
Exports the execution occurrence to the reverse-builder supplied as a parameter. |
ContourID |
id()
Returns the identifier of the execution occurrence. |
MessageSend |
initiator()
Returns the Message which initiated the execution occurrence. |
Method Detail |
---|
void export(ExecutionOccurrence.Exporter exporter)
exporter
- the reverse-builderContourID id()
ContourID context()
long duration()
List<EventOccurrence> events()
MessageSend initiator()
Message
which initiated the execution occurrence.
SequenceModel containingModel()
SequenceModel
in which the execution occurrence
belongs.
|
JIVE Platform Release 0.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |