Murl Engine Lua Addon API  Version 1.0 beta
Murl.Resource.IScript

The IScript resource object interface.


Table members

Methods


CreateIProcessor(logicState, info)

Create a logic processor object from the script data.

Murl.SharedPointer.LogicIProcessor CreateIProcessor(Murl.Logic.IState logicState, String info)

Parameters
logicStateThe logic state object.
infoA string containing additional information passed to the script, e.g. the replication number when created from resource script instance.
Returns
Murl.SharedPointer.LogicIProcessor The logic processor object or null if creation failed.

CreateIAppGraph(info)

Create a logic app graph object from the script data.

Murl.SharedPointer.LogicIAppGraph CreateIAppGraph(String info)

Parameters
infoA string containing additional information passed to the script, e.g. the replication number when created from resource script instance.
Returns
Murl.SharedPointer.LogicIAppGraph The logic app graph object or null if creation failed.

GetData()

Get a data object containing the script data. Calling this method returns a constant data object containing the script data, performing decryption if necessary. If decryption fails, an empty data object is returned. It is necessary to make a corresponding call to ReleaseData() for every GetData() invocation.

Murl.ConstData GetData()

Returns
Murl.ConstData A constant data object containing the script contents.

ReleaseData()

Release the previously obtained data.

Boolean ReleaseData()

Returns
Boolean true if successful.