Enum Class Requirement

java.lang.Object
java.lang.Enum<Requirement>
edu.tufts.hrilab.vision.visionproc.Requirement
All Implemented Interfaces:
Serializable, Comparable<Requirement>, Constable

public enum Requirement extends Enum<Requirement>
  • Enum Constant Details

  • Field Details

    • log

      protected static org.slf4j.Logger log
  • Method Details

    • values

      public static Requirement[] 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 Requirement 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
    • isRequirementSatisfied

      public static boolean isRequirementSatisfied(String requirement)
      Checks the String based requirement by first calling toUpperCase on the String to convert to enum, and then checking thje requirement against vision's runtime configuration.
      Parameters:
      requirement -
      Returns: