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