public enum SMSActivateServerStatus extends Enum<SMSActivateServerStatus>
| Enum Constant and Description |
|---|
CANCEL |
FINISH |
READY |
RETRY_GET |
SMS_ADDED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getEnglishMessage()
Returns the message on english.
|
@NotNull String |
getMessage()
Returns the single concat messages.
|
@NotNull String |
getResponse()
Returns the response from server.
|
@NotNull String |
getRussianMessage()
Returns the message on russian.
|
static @NotNull SMSActivateServerStatus |
getStatusByName(@NotNull String name)
Returns the state by name.
|
static SMSActivateServerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SMSActivateServerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMSActivateServerStatus READY
public static final SMSActivateServerStatus RETRY_GET
public static final SMSActivateServerStatus FINISH
public static final SMSActivateServerStatus CANCEL
public static final SMSActivateServerStatus SMS_ADDED
public static final SMSActivateServerStatus UNKNOWN
public static SMSActivateServerStatus[] values()
for (SMSActivateServerStatus c : SMSActivateServerStatus.values()) System.out.println(c);
public static SMSActivateServerStatus 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 null@NotNull public @NotNull String getRussianMessage()
@NotNull public @NotNull String getEnglishMessage()
@NotNull public @NotNull String getMessage()
@NotNull public @NotNull String getResponse()
@NotNull public static @NotNull SMSActivateServerStatus getStatusByName(@NotNull @NotNull String name)
name - state name.Copyright © 2020. All rights reserved.