Enum Class GrouperEngineBuiltin

java.lang.Object
java.lang.Enum<GrouperEngineBuiltin>
edu.internet2.middleware.grouper.audit.GrouperEngineBuiltin
All Implemented Interfaces:
GrouperEngineIdentifier, Serializable, Comparable<GrouperEngineBuiltin>, Constable

public enum GrouperEngineBuiltin extends Enum<GrouperEngineBuiltin> implements GrouperEngineIdentifier
built in grouper engines. Note, if we prefix builtins with "grouper" there will not be conflicts with custom engines
  • Enum Constant Details

  • Method Details

    • values

      public static GrouperEngineBuiltin[] 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 GrouperEngineBuiltin 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
    • getGrouperEngine

      public String getGrouperEngine()
      Description copied from interface: GrouperEngineIdentifier
      get the string for the db col. Generally grouper built in engines start with "grouper"
      Specified by:
      getGrouperEngine in interface GrouperEngineIdentifier
      Returns:
      the engine
      See Also:
    • valueOfIgnoreCase

      public static GrouperEngineBuiltin 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
    • valueOfIgnoreCase

      public static GrouperEngineBuiltin valueOfIgnoreCase(String string, boolean exceptionOnNull, boolean exceptionIfNotFound)
      do a case-insensitive matching
      Parameters:
      string -
      exceptionOnNull - will not allow null or blank entries
      exceptionIfNotFound - if string isnt found should there be an exception
      Returns:
      the enum or null or exception if not found