public static enum Channel.UpdateReason extends java.lang.Enum<Channel.UpdateReason>
Enum Constant and Description |
---|
ATTRIBUTES
Channel attributes changed.
|
FRIENDLY_NAME
Channel friendly name changed.
|
LAST_CONSUMED_MESSAGE_INDEX
Channel last consumed message changed.
|
STATUS
Channel status changed.
|
UNIQUE_NAME
Channel unique name changed.
|
Modifier and Type | Method and Description |
---|---|
static Channel.UpdateReason |
fromInt(int value) |
int |
getValue() |
static Channel.UpdateReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Channel.UpdateReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Channel.UpdateReason STATUS
public static final Channel.UpdateReason LAST_CONSUMED_MESSAGE_INDEX
public static final Channel.UpdateReason UNIQUE_NAME
public static final Channel.UpdateReason FRIENDLY_NAME
public static final Channel.UpdateReason ATTRIBUTES
public static Channel.UpdateReason[] values()
for (Channel.UpdateReason c : Channel.UpdateReason.values()) System.out.println(c);
public static Channel.UpdateReason 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 int getValue()
public static Channel.UpdateReason fromInt(int value)