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()
ScriptingNotificationgetException in interface ScriptingNotificationpublic java.lang.String getId()
ScriptingNotificationgetId in interface ScriptingNotificationpublic ScriptingUnit getUnit()
ScriptingNotificationScriptingUnit which send the notificationgetUnit in interface ScriptingNotificationpublic int getType()
ScriptingNotificationgetType in interface ScriptingNotification