public enum AlertHistory extends java.lang.Enum<AlertHistory>
| Enum Constant and Description |
|---|
INSTANCE
Singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAlert(ThresholdAlert alert)
Adds a new alert.
|
java.util.List<ThresholdAlert> |
getAlerts()
Returns the alerts sofar.
|
static AlertHistory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlertHistory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertHistory INSTANCE
public static AlertHistory[] values()
for (AlertHistory c : AlertHistory.values()) System.out.println(c);
public static AlertHistory valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void addAlert(ThresholdAlert alert)
alert - public java.util.List<ThresholdAlert> getAlerts()
Copyright © 2010-2020 anotheria.net. All Rights Reserved.