public class BaseScriptingNotifycation extends java.lang.Object implements ScriptingNotification
Modifier and Type | Field and Description |
---|---|
static int |
COMPILE_ERROR_NOTIFICATION |
static int |
RUNTIME_ERROR_NOTIFICATION |
Constructor and Description |
---|
BaseScriptingNotifycation(ScriptingUnit unit,
int type,
java.lang.String id,
java.lang.Exception ex) |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Gets the cause of the ScriptingNotification
|
java.lang.String |
getId()
Gets the ScriptingNotification's id
|
int |
getType()
Gets the type of ScriptingNotification
|
ScriptingUnit |
getUnit()
Get the
ScriptingUnit which send the notification |
public static final int RUNTIME_ERROR_NOTIFICATION
public static final int COMPILE_ERROR_NOTIFICATION
public BaseScriptingNotifycation(ScriptingUnit unit, int type, java.lang.String id, java.lang.Exception ex)
public java.lang.Exception getException()
ScriptingNotification
getException
in interface ScriptingNotification
public java.lang.String getId()
ScriptingNotification
getId
in interface ScriptingNotification
public ScriptingUnit getUnit()
ScriptingNotification
ScriptingUnit
which send the notificationgetUnit
in interface ScriptingNotification
public int getType()
ScriptingNotification
getType
in interface ScriptingNotification