Murl Engine Lua Addon API  Version 1.0 beta
Murl.Graph.ITrackerResult

The tracker result interface.


Table members

Enumerations


Type

The result type.

Murl.Graph.ITrackerResult.TYPE_INFOInfo result.
Murl.Graph.ITrackerResult.TYPE_WARNINGA warning.
Murl.Graph.ITrackerResult.TYPE_ERRORAn error.
Murl.Graph.ITrackerResult.NUM_TYPES


Functions



Methods


Clone()

Clone the result object.

Murl.Graph.ITrackerResult Clone()

Returns
Murl.Graph.ITrackerResult The newly created clone.

GetNode()

Get the graph node the result applies to.

Murl.Graph.INode GetNode()

Returns
Murl.Graph.INode The affected node, or null if not a node.

GetType()

Get the result type.

Murl.Graph.ITrackerResult.Type GetType()

Returns
Murl.Graph.ITrackerResult.Type The result type.

GetFunction()

Get the fully qualified name of the function/method that posted this result.

String GetFunction()

Returns
String The function.

GetLine()

Get the line number within the source file where the result was posted

Integer GetLine()

Returns
Integer The line number.

GetMessage()

Get the result message string. This method returns the plain message string, which may optionally contain any number of parameter place holders in the form {N}, with N being a number between 0 and GetParameters().GetCount()-1. To obtain the full message, use Util::FillInParameters(GetMessage(), GetParameters()).

String GetMessage()

Returns
String The plain message string.

GetParameters()

Get the array of result parameter strings. This method returns the array of parameters to be inserted into the plain message string. See GetMessage().

Murl.Array.String GetParameters()

Returns
Murl.Array.String The array of parameter strings.