public class BaseScriptingNotifycation extends 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,
String id,
Exception ex) |
| Modifier and Type | Method and Description |
|---|---|
Exception |
getException()
Gets the cause of the ScriptingNotification
|
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, String id, Exception ex)
public Exception getException()
ScriptingNotificationgetException in interface ScriptingNotificationpublic String getId()
ScriptingNotificationgetId in interface ScriptingNotificationpublic ScriptingUnit getUnit()
ScriptingNotificationScriptingUnit which send the notificationgetUnit in interface ScriptingNotificationpublic int getType()
ScriptingNotificationgetType in interface ScriptingNotification