Interface Quitable
- All Known Implementing Classes:
EvalGuardStateNode
public interface Quitable
Receiver for quit events for use by guards.
-
Method Summary
Modifier and TypeMethodDescriptionRetains the pattern context with relevant pattern and statement-level services.void
Indicate guard quitted.
-
Method Details
-
guardQuit
void guardQuit()Indicate guard quitted. -
getContext
PatternAgentInstanceContext getContext()Retains the pattern context with relevant pattern and statement-level services.The pattern context is the same context as provided to the guard factory and is provided by the quitable so the guard instance does not need to retain the pattern context.
- Returns:
- pattern context
-