| Modifier and Type | Field and Description |
|---|---|
private static java.util.List<MetaErrorListener> |
ERROR_LISTENERS |
| Modifier | Constructor and Description |
|---|---|
private |
MetaErrorListeners() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addErrorListener(MetaErrorListener value)
Add new fireError listener for global fireError events.
|
static void |
clear()
Remove all listeners.
|
static void |
fireError(java.lang.String text,
java.lang.Throwable error)
Send notifications to all listeners.
|
static boolean |
hasListeners()
Check that there are registered listeners.
|
static void |
removeErrorListener(MetaErrorListener value)
Remove listener.
|
private static final java.util.List<MetaErrorListener> ERROR_LISTENERS
public static void clear()
public static void addErrorListener(MetaErrorListener value)
value - listener to be addedpublic static void removeErrorListener(MetaErrorListener value)
value - listener to be removedpublic static boolean hasListeners()