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()
SimulationEventHandler
init
in interface SimulationEventHandler
public void handle(SimulationEvent event)
SimulationEventHandler
handle
in interface SimulationEventHandler
event
- event to handleCopyright © 2016 Alfresco. All rights reserved.