public static enum Tariff.State extends Enum<Tariff.State>
Enum Constant and Description |
---|
ACTIVE |
KILLED |
OFFERED |
PENDING |
WITHDRAWN |
Modifier and Type | Method and Description |
---|---|
static Tariff.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tariff.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tariff.State PENDING
public static final Tariff.State OFFERED
public static final Tariff.State ACTIVE
public static final Tariff.State WITHDRAWN
public static final Tariff.State KILLED
public static Tariff.State[] values()
for (Tariff.State c : Tariff.State.values()) System.out.println(c);
public static Tariff.State 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 © 2019 Power TAC. All rights reserved.