public enum SendingStatus extends Enum<SendingStatus>
| Enum Constant and Description |
|---|
ERROR_IN_MESSAGE
Message is incorrect.
|
ERROR_IN_TRANSPORT
Message didn't send since transport couldn't do it.
|
SUCCESS
Message sent successfully.
|
| Modifier and Type | Method and Description |
|---|---|
static SendingStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SendingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SendingStatus SUCCESS
public static final SendingStatus ERROR_IN_MESSAGE
public static final SendingStatus ERROR_IN_TRANSPORT
public static SendingStatus[] values()
for (SendingStatus c : SendingStatus.values()) System.out.println(c);
public static SendingStatus 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 nullCopyright © 2023. All rights reserved.