public class ResolvableWarningNotification extends WarningNotification implements ResolvableNotification
topic
Constructor and Description |
---|
ResolvableWarningNotification(Object topic,
String message,
Graph graph,
Object[] data,
NotificationResolution resolution) |
Modifier and Type | Method and Description |
---|---|
String[] |
getOptionNames()
Returns the list of the associated resolution options
|
boolean |
performResolution(int index)
Execute the chosen option of the resolution associated to the Notification
|
compareTo, getMessage, getTopic, getType, timeout, toString
public ResolvableWarningNotification(Object topic, String message, Graph graph, Object[] data, NotificationResolution resolution)
public boolean performResolution(int index)
performResolution
in interface ResolvableNotification
index
- the index of the chosen resolution optionpublic String[] getOptionNames()
getOptionNames
in interface ResolvableNotification
Copyright © 2005–2020. All rights reserved.