|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ExecutionVisitor
A visitor that is invoked as the execution of a sequence unfolds. Typically such a visitor adds decorations to the sequence based on checks of the runtime behavior. IMPORTANT: Implementing classes should have a zero-argument constructor.
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(ExecutableSequence executableSequence)
Called before execution of a sequence, to allow the visitor to perform any initialization steps required before execution. |
void |
visitAfter(ExecutableSequence sequence,
int i)
Invoked by ExecutableSequence.execute after the i-th statement executes. |
void |
visitBefore(ExecutableSequence sequence,
int i)
Invoked by ExecutableSequence.execute before the i-th statement executes. |
| Method Detail |
|---|
void visitBefore(ExecutableSequence sequence,
int i)
void visitAfter(ExecutableSequence sequence,
int i)
void initialize(ExecutableSequence executableSequence)
executableSequence -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||