public enum ActivationStatus extends Enum<ActivationStatus>
NOT_ACTIVATED
automatically and an error is sent back to the client.Enum Constant and Description |
---|
ACCEPTED_BY_DONGLE
Activation successfully finalized.
|
IN_PROGRESS
Activation was started but hasn't come to a result yet.
|
NOT_ACTIVATED
Not activated.
|
Modifier and Type | Field and Description |
---|---|
int |
id
The id.
|
Modifier and Type | Method and Description |
---|---|
static ActivationStatus |
byId(int id)
Returns the value that corresponds to the specified id.
|
int |
getId() |
static ActivationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivationStatus NOT_ACTIVATED
public static final ActivationStatus ACCEPTED_BY_DONGLE
public static final ActivationStatus IN_PROGRESS
public static ActivationStatus[] values()
for (ActivationStatus c : ActivationStatus.values()) System.out.println(c);
public static ActivationStatus 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 int getId()
public static ActivationStatus byId(int id)
id
-