public enum PushSourceEnum extends Enum<PushSourceEnum>
| Enum Constant and Description |
|---|
ADDRESS_ORIGINATED
Represents address-originated.
|
INTERFACE_ORIGINATED
Represents interface-originated.
|
| Modifier and Type | Method and Description |
|---|---|
static PushSourceEnum |
of(int value)
Returns the object of pushSourceEnum for.
|
static PushSourceEnum |
of(String value)
Returns the object of pushSourceEnum for.
|
int |
pushSourceEnum()
Returns the attribute pushSourceEnum.
|
String |
toString() |
static PushSourceEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PushSourceEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PushSourceEnum INTERFACE_ORIGINATED
public static final PushSourceEnum ADDRESS_ORIGINATED
public static PushSourceEnum[] values()
for (PushSourceEnum c : PushSourceEnum.values()) System.out.println(c);
public static PushSourceEnum 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 static PushSourceEnum of(int value)
value - value of pushSourceEnum forpublic static PushSourceEnum of(String value)
value - value of pushSourceEnum forpublic int pushSourceEnum()
public String toString()
toString in class Enum<PushSourceEnum>Copyright © 2018. All rights reserved.