Interface EngineListener
- 
@OpenApiAll public interface EngineListenerA listener interface for element id in the simulation model. Element id should be the id ofElement 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidelementActivated(Element element, java.util.Collection<?> values)Handle when the element is activated.voidelementDeactivated(Element element, java.util.Collection<?> values)Handle when the element is deactivated.voideventTriggered(java.lang.String eventID)Handle when the event id is triggered.voidexecutionTerminated()Handle the termination. 
 - 
 
- 
- 
Method Detail
- 
elementActivated
void elementActivated(Element element, java.util.Collection<?> values)
Handle when the element is activated.- Parameters:
 element- the activated elementvalues- the values that passed with this element activation
 
- 
elementDeactivated
void elementDeactivated(Element element, java.util.Collection<?> values)
Handle when the element is deactivated.- Parameters:
 element- the deactivated elementvalues- the values that passed with this element deactivation
 
- 
eventTriggered
void eventTriggered(java.lang.String eventID)
Handle when the event id is triggered.- Parameters:
 eventID- the triggered event id
 
- 
executionTerminated
void executionTerminated()
Handle the termination. 
 - 
 
 -