Interface EngineListener
@OpenApiAll
public interface EngineListener
A listener interface for element id in the simulation model.
 Element id should be the id of 
Element- 
Method Summary
Modifier and TypeMethodDescriptionvoidelementActivated(Element element, Collection<?> values) Handle when the element is activated.voidelementDeactivated(Element element, Collection<?> values) Handle when the element is deactivated.voideventTriggered(String eventID) Handle when the event id is triggered.voidHandle the termination. 
- 
Method Details
- 
elementActivated
Handle when the element is activated.- Parameters:
 element- the activated elementvalues- the values that passed with this element activation
 - 
elementDeactivated
Handle when the element is deactivated.- Parameters:
 element- the deactivated elementvalues- the values that passed with this element deactivation
 - 
eventTriggered
Handle when the event id is triggered.- Parameters:
 eventID- the triggered event id
 - 
executionTerminated
void executionTerminated()Handle the termination. 
 -