Serializable, Comparable<NotifyType>public enum NotifyType extends Enum<NotifyType>
| Modifier and Type | Method | Description |
|---|---|---|
String |
getType() |
|
static NotifyType |
getType(String identifier) |
|
static NotifyType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static NotifyType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotifyType AVAILABLE
public static final NotifyType BYE_BYE
public static final NotifyType UPDATE
public static NotifyType[] values()
for (NotifyType c : NotifyType.values()) System.out.println(c);
public static NotifyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getType()
public static NotifyType getType(String identifier)
Copyright © 2017–2019. All rights reserved.