public enum MessageStatus extends Enum<MessageStatus>
Enum Constant and Description |
---|
COMPLETE |
DELIVERED |
DELIVERED_TO_PRINT |
NOT_COMPLETE |
Modifier and Type | Method and Description |
---|---|
static MessageStatus |
fromValue(String v) |
String |
value() |
static MessageStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageStatus NOT_COMPLETE
public static final MessageStatus COMPLETE
public static final MessageStatus DELIVERED
public static final MessageStatus DELIVERED_TO_PRINT
public static MessageStatus[] values()
for (MessageStatus c : MessageStatus.values()) System.out.println(c);
public static MessageStatus 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 value()
public static MessageStatus fromValue(String v)
Copyright © 2019 Digipost. All rights reserved.