public class ScriptEventHandler extends Object implements SimulationEventHandler
| Modifier and Type | Field and Description |
|---|---|
protected String |
language |
protected String |
scriptPropertyName |
| Constructor and Description |
|---|
ScriptEventHandler(String scriptPropertyName,
String language) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(SimulationEvent event)
execute event in the context
|
void |
init()
initialize event handler
|
protected String scriptPropertyName
protected String language
public void init()
SimulationEventHandlerinit in interface SimulationEventHandlerpublic void handle(SimulationEvent event)
SimulationEventHandlerhandle in interface SimulationEventHandlerevent - event to handleCopyright © 2016 Alfresco. All rights reserved.