Package nl.vpro.util

Enum Class Env.Match

java.lang.Object
java.lang.Enum<Env.Match>
nl.vpro.util.Env.Match
All Implemented Interfaces:
Serializable, Comparable<Env.Match>, Constable, BooleanSupplier
Enclosing class:
Env

public static enum Env.Match extends Enum<Env.Match> implements BooleanSupplier
  • Enum Constant Details

    • EXACT

      public static final Env.Match EXACT
    • ON_FALLBACK

      public static final Env.Match ON_FALLBACK
    • NONE

      public static final Env.Match NONE
  • Method Details

    • values

      public static Env.Match[] 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.Match 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
    • getAsBoolean

      public boolean getAsBoolean()
      Specified by:
      getAsBoolean in interface BooleanSupplier
    • getStrength

      public int getStrength()