edu.internet2.middleware.grouper.hibernate
Enum AuditControl
java.lang.Object
java.lang.Enum<AuditControl>
edu.internet2.middleware.grouper.hibernate.AuditControl
- All Implemented Interfaces:
- Serializable, Comparable<AuditControl>
public enum AuditControl
- extends Enum<AuditControl>
Enum Constant Summary |
WILL_AUDIT
will audit this call (or will defer to outside context if auditing |
WILL_NOT_AUDIT
will not audit |
Method Summary |
static AuditControl |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AuditControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
WILL_AUDIT
public static final AuditControl WILL_AUDIT
- will audit this call (or will defer to outside context if auditing
WILL_NOT_AUDIT
public static final AuditControl WILL_NOT_AUDIT
- will not audit
values
public static AuditControl[] 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 (AuditControl c : AuditControl.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AuditControl 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