Package nl.vpro.util

Enum Class Env

All Implemented Interfaces:
Serializable, Comparable<Env>, Constable

public enum Env extends Enum<Env>
Since:
0.42
Author:
Michiel Meeuwissen
  • Enum Constant Details

    • 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 Details

    • values

      public static Env[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Env valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • optionalValueOf

      public static Optional<Env> optionalValueOf(@Nullable String value)
    • matches

      public Env.Match matches(Env env)
      Returns:
      1 if env if exact match, 0 if fallback match, -
    • getFallbacks

      public List<Env> getFallbacks()