Package nl.vpro.util

Enum Env

    • 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 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()