public enum MessageState extends Enum<MessageState>
| Enum Constant and Description |
|---|
DELETED |
DELIVERED |
DELIVERED_BY_FICTION |
DELIVERED_BY_LOGIN |
IN_DEPOSITORY |
READ |
SUBMITTED |
TIMESTAMPED |
UNDELIVERABLE |
VIRUS_FOUND |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeDownloaded() |
int |
getValue() |
static int |
toInt(EnumSet<MessageState> states) |
static MessageState |
valueOf(int val) |
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 SUBMITTED
public static final MessageState TIMESTAMPED
public static final MessageState VIRUS_FOUND
public static final MessageState DELIVERED
public static final MessageState DELIVERED_BY_FICTION
public static final MessageState DELIVERED_BY_LOGIN
public static final MessageState READ
public static final MessageState UNDELIVERABLE
public static final MessageState DELETED
public static final MessageState IN_DEPOSITORY
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 static MessageState valueOf(int val)
public static int toInt(EnumSet<MessageState> states)
public boolean canBeDownloaded()
public int getValue()
Copyright © 2017. All rights reserved.