public enum MessageState extends Enum<MessageState>
Modifier and Type | Method and Description |
---|---|
byte |
getState() |
static MessageState |
valueOf(byte state) |
static MessageState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageState WAITING
public static final MessageState PENDING
public static final MessageState READY
public static final MessageState CANCELLED
public static MessageState[] values()
for (MessageState c : MessageState.values()) System.out.println(c);
public static MessageState 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 byte getState()
public static MessageState valueOf(byte state)
Copyright © 2022 KOBIL Systems GmbH. All rights reserved.