edu.internet2.middleware.grouper.audit
Enum GrouperEngineBuiltin

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

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 Summary
GSH
          gsh engine
IMPORT
          ldappc engine
JUNIT
          junit engine
LDAPPC
          ldappc engine
LOADER
          loader engine
UI
          default group ui engine
USDU
          usdu engine engine
WS
          web service engine
 
Method Summary
 String getGrouperEngine()
          get the string for the db col.
static GrouperEngineBuiltin valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GrouperEngineBuiltin valueOfIgnoreCase(String string, boolean exceptionOnNull)
          do a case-insensitive matching
static GrouperEngineBuiltin valueOfIgnoreCase(String string, boolean exceptionOnNull, boolean exceptionIfNotFound)
          do a case-insensitive matching
static GrouperEngineBuiltin[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GSH

public static final GrouperEngineBuiltin GSH
gsh engine


UI

public static final GrouperEngineBuiltin UI
default group ui engine


WS

public static final GrouperEngineBuiltin WS
web service engine


LOADER

public static final GrouperEngineBuiltin LOADER
loader engine


LDAPPC

public static final GrouperEngineBuiltin LDAPPC
ldappc engine


IMPORT

public static final GrouperEngineBuiltin IMPORT
ldappc engine


USDU

public static final GrouperEngineBuiltin USDU
usdu engine engine


JUNIT

public static final GrouperEngineBuiltin JUNIT
junit engine

Method Detail

values

public static GrouperEngineBuiltin[] 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 (GrouperEngineBuiltin c : GrouperEngineBuiltin.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

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

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:
GrouperEngineIdentifier.getGrouperEngine()

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