public interface Auditor extends Lifecycle
| Modifier and Type | Method and Description |
|---|---|
default boolean |
auditInvocations()
Indicates whether an auditor is interested in receiving nodeInvoked
event callback.
|
default void |
eventReceived(Event event)
Callback indicating the Event to be processed by the SEP nodes.
|
default void |
eventReceived(Object event)
Callback indicating the Event to be processed by the SEP nodes as an
Object.
|
default void |
init()
callback received before any events are processed by the Static event
processor.
|
default void |
nodeInvoked(Object node,
String nodeName,
String methodName,
Object event)
Callback method received by the auditor due to processing an event.
|
void |
nodeRegistered(Object node,
String nodeName)
Callback for each node registered in the SEP.
|
default void |
processingComplete()
Callback to indicate all nodes have processed the Event and the execution
path for that event is complete.
|
default void |
tearDown()
callback received after all events are processed by the Static event
processor, and no more are expected.
|
void nodeRegistered(Object node, String nodeName)
node - The node instance in the SEPnodeName - The unique name of the node in the SEPdefault void eventReceived(Event event)
event - the event to be processeddefault void eventReceived(Object event)
event - the event to be processeddefault void processingComplete()
default void init()
Lifecycledefault void tearDown()
Lifecycledefault void nodeInvoked(Object node, String nodeName, String methodName, Object event)
node - The next node to process in the execution pathnodeName - The name of the node, this is the same name as the
variable name of the node in the SEPmethodName - The method of the node that is next to be invoked in
the execution path.event - The event that is the root of the of this execution path.default boolean auditInvocations()
Copyright © 2019. All rights reserved.