Enum Class ConfigFileHierarchy

java.lang.Object
java.lang.Enum<ConfigFileHierarchy>
edu.internet2.middleware.grouper.cfg.dbConfig.ConfigFileHierarchy
All Implemented Interfaces:
Serializable, Comparable<ConfigFileHierarchy>, Constable

public enum ConfigFileHierarchy extends Enum<ConfigFileHierarchy>
Note, this class is not used
  • Enum Constant Details

    • BASE

      public static final ConfigFileHierarchy BASE
      the base config that ships with grouper
    • INSTITUTION

      public static final ConfigFileHierarchy INSTITUTION
      the config at your institution that spans across all envs
    • ENVIRONMENT

      public static final ConfigFileHierarchy ENVIRONMENT
      config for the environment at your institution, dev, test, prod whatever
    • GROUPER_ENGINE

      public static final ConfigFileHierarchy GROUPER_ENGINE
      if configs differ between UI, WS, etc put that here
  • Method Details

    • values

      public static ConfigFileHierarchy[] 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 ConfigFileHierarchy 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
    • getOrder

      public int getOrder()
      order the config gets loaded the lower the number the first it is read
      Returns:
      the order
    • valueOfIgnoreCase

      public static ConfigFileHierarchy valueOfIgnoreCase(String string, boolean exceptionOnNull)
      do a case-insensitive matching
      Parameters:
      string -
      exceptionOnNull - will not allow null or blank entries
      Returns:
      the enum or null or exception if not found