MetaDone
|
Public Member Functions | |
ScriptCallEvent (String script, Map< String, Object > variables) | |
ScriptResult | getResult () |
final boolean | isEvaluated () |
void | setResult (ScriptResult result) |
String | toString () |
Public Attributes | |
final String | script |
final Map< String, Object > | variables |
Private Attributes | |
ScriptResult | result |
Fired when a script should be evaluated.
metadone.metabusiness.events.ScriptCallEvent.ScriptCallEvent | ( | String | script, |
Map< String, Object > | variables | ||
) |
Initializes this event.
script | The script |
variables | The variables |
NullPointerException | when script or variables is null |
References metadone.metabusiness.events.ScriptCallEvent.script, and metadone.metabusiness.events.ScriptCallEvent.variables.
ScriptResult metadone.metabusiness.events.ScriptCallEvent.getResult | ( | ) |
Gets the result.
null
if not set References metadone.metabusiness.events.ScriptCallEvent.result.
Referenced by metadone.metabusiness.script.plugin.EventScriptEvaluator.evaluate(), metadone.metabusiness.events.ScriptCallEvent.isEvaluated(), and metadone.metabusiness.events.ScriptCallEvent.toString().
final boolean metadone.metabusiness.events.ScriptCallEvent.isEvaluated | ( | ) |
Tests whether a result is set.
References metadone.metabusiness.events.ScriptCallEvent.getResult().
Referenced by metadone.metabusiness.events.ScriptCallEvent.toString().
void metadone.metabusiness.events.ScriptCallEvent.setResult | ( | ScriptResult | result | ) |
Sets the result.
result | The result |
References metadone.metabusiness.events.ScriptCallEvent.result.
String metadone.metabusiness.events.ScriptCallEvent.toString | ( | ) |
final String metadone.metabusiness.events.ScriptCallEvent.script |
The script to evaluate.
Referenced by metadone.metabusiness.events.ScriptCallEvent.ScriptCallEvent(), and metadone.metabusiness.events.ScriptCallEvent.toString().
final Map<String, Object> metadone.metabusiness.events.ScriptCallEvent.variables |
The variables.
Referenced by metadone.metabusiness.events.ScriptCallEvent.ScriptCallEvent().