public enum AlertSource extends java.lang.Enum<AlertSource>
Enum Constant and Description |
---|
Device
Device generated
|
System
System generated
|
Modifier and Type | Method and Description |
---|---|
static AlertSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlertSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertSource Device
public static final AlertSource System
public static AlertSource[] values()
for (AlertSource c : AlertSource.values()) System.out.println(c);
public static AlertSource 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 null