public enum GrouperHookType extends Enum<GrouperHookType> implements GrouperHookTypeInterface
Enum Constant and Description |
---|
ATTRIBUTE
attribute hooks
|
ATTRIBUTE_ASSIGN
attribute assign hooks
|
ATTRIBUTE_ASSIGN_VALUE
attribute assign value hooks
|
ATTRIBUTE_DEF
attribute hooks
|
ATTRIBUTE_DEF_NAME
attribute hooks
|
COMPOSITE
composite hooks
|
EXTERNAL_SUBJECT
external subject hooks
|
FIELD
field hooks
|
GROUP
group hooks
|
GROUP_TYPE
group type hooks
|
GROUP_TYPE_TUPLE
stem hooks
|
GROUPER_SESSION
grouper session hooks
|
LIFECYCLE
group hooks
|
LOADER
loader hooks
|
MEMBER
member hooks
|
MEMBERSHIP
membership hooks
|
STEM
stem hooks
|
Modifier and Type | Method and Description |
---|---|
static void |
addHookOverride(String propertyFileKey,
Class<?> hookClass)
for testing, you can override a hook (dont forget to remove later).
|
static void |
addHookOverride(String propertyFileKey,
List<Class<?>> hookClasses)
for testing, you can override a hook (dont forget to remove later).
|
Class<?> |
getBaseClass()
base class for this hook class
|
String |
getPropertyFileKey()
property file key for this hook class
|
static List<GrouperHookMethodAndObject> |
hooksInstances(GrouperHookTypeInterface grouperHookTypeInterface,
String methodName,
Class<?> beanClass)
get an instance for this group type
|
static GrouperHookType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrouperHookType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrouperHookType EXTERNAL_SUBJECT
public static final GrouperHookType LOADER
public static final GrouperHookType GROUP
public static final GrouperHookType ATTRIBUTE
public static final GrouperHookType ATTRIBUTE_ASSIGN
public static final GrouperHookType ATTRIBUTE_ASSIGN_VALUE
public static final GrouperHookType ATTRIBUTE_DEF
public static final GrouperHookType ATTRIBUTE_DEF_NAME
public static final GrouperHookType LIFECYCLE
public static final GrouperHookType STEM
public static final GrouperHookType MEMBER
public static final GrouperHookType COMPOSITE
public static final GrouperHookType FIELD
public static final GrouperHookType GROUPER_SESSION
public static final GrouperHookType GROUP_TYPE
public static final GrouperHookType GROUP_TYPE_TUPLE
public static final GrouperHookType MEMBERSHIP
public static GrouperHookType[] values()
for (GrouperHookType c : GrouperHookType.values()) System.out.println(c);
public static GrouperHookType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static List<GrouperHookMethodAndObject> hooksInstances(GrouperHookTypeInterface grouperHookTypeInterface, String methodName, Class<?> beanClass)
grouperHookTypeInterface
- methodName
- e.g. groupPreUpdatebeanClass
- e.g. HooksGroupBean.classpublic static void addHookOverride(String propertyFileKey, Class<?> hookClass)
propertyFileKey
- hookClass
- public static void addHookOverride(String propertyFileKey, List<Class<?>> hookClasses)
propertyFileKey
- hookClasses
- public String getPropertyFileKey()
getPropertyFileKey
in interface GrouperHookTypeInterface
public Class<?> getBaseClass()
getBaseClass
in interface GrouperHookTypeInterface
Copyright © 2016 Internet2. All rights reserved.