MetaDone
metadone.metabusiness.events.ScriptCallEvent Class Reference
Collaboration diagram for metadone.metabusiness.events.ScriptCallEvent:

List of all members.

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

Detailed Description

Fired when a script should be evaluated.

Author:
kma

Constructor & Destructor Documentation

metadone.metabusiness.events.ScriptCallEvent.ScriptCallEvent ( String  script,
Map< String, Object >  variables 
)

Initializes this event.

Parameters:
scriptThe script
variablesThe variables
Exceptions:
NullPointerExceptionwhen script or variables is null

References metadone.metabusiness.events.ScriptCallEvent.script, and metadone.metabusiness.events.ScriptCallEvent.variables.


Member Function Documentation

final boolean metadone.metabusiness.events.ScriptCallEvent.isEvaluated ( )

Tests whether a result is set.

Returns:
Indicates 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.

Parameters:
resultThe result

References metadone.metabusiness.events.ScriptCallEvent.result.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations