|
Element ''zpro > joker > JokerMScriptFunction' |
|
|
JokerMScriptFunction element can be used to configure a custom MScript function without creating a permanent configuration element.
This element can only be placed into configuration pages (e.g. "Common Definitions" page). Properties Name The name of the element on the page will be the name of the MScript function as well. For example, if the name of the element is set to "calc" then identically named MScript function can be used as follows wherever MScript function can be used. @calc(parameters) MScript Function Class Name The name of the Java class that implements org.moremotion.evaluator.MScriptFunction interface.
Unit Name (Accepts MScript) The name of the unit that implies the name of the resource file. Parameters (Accepts MScript) The parameters and their values can be defined with this property in XML format as follows. Example: <param name="param1">ABC</param> <param name="param1">XYZ</param>
Debug (Accepts MScript) To request information about the execution of the MScript Function Class, a number between 1 and 3 can be specified here. The MScript Function Class class will dump the desired level of information to the system console.
|