Package nl.vpro.util
Enum Env
- java.lang.Object
-
- java.lang.Enum<Env>
-
- nl.vpro.util.Env
-
- All Implemented Interfaces:
Serializable
,Comparable<Env>
public enum Env extends Enum<Env>
- Since:
- 0.42
- Author:
- Michiel Meeuwissen
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Env.Match
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Env>
getFallbacks()
Env.Match
matches(Env env)
static Optional<Env>
optionalValueOf(@Nullable String value)
static Env
valueOf(String name)
Returns the enum constant of this type with the specified name.static Env[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCALHOST
public static final Env LOCALHOST
-
TEST
public static final Env TEST
-
TESTA
public static final Env TESTA
-
TESTB
public static final Env TESTB
-
TEST_NEW
public static final Env TEST_NEW
-
TEST_OLD
public static final Env TEST_OLD
-
TESTA_NEW
public static final Env TESTA_NEW
-
TESTB_NEW
public static final Env TESTB_NEW
-
ACC
public static final Env ACC
-
ACCA
public static final Env ACCA
-
ACCB
public static final Env ACCB
-
ACC_NEW
public static final Env ACC_NEW
-
ACC_OLD
public static final Env ACC_OLD
-
ACCA_NEW
public static final Env ACCA_NEW
-
ACCB_NEW
public static final Env ACCB_NEW
-
PROD
public static final Env PROD
-
PRODA
public static final Env PRODA
-
PRODB
public static final Env PRODB
-
PROD_NEW
public static final Env PROD_NEW
-
PROD_OLD
public static final Env PROD_OLD
-
PRODA_NEW
public static final Env PRODA_NEW
-
PRODB_NEW
public static final Env PRODB_NEW
-
-
Method Detail
-
values
public static Env[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Env c : Env.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Env valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-