|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RuleIfConditionEnum>
edu.internet2.middleware.grouper.rules.RuleIfConditionEnum
public enum RuleIfConditionEnum
built in if condition
Enum Constant Summary | |
---|---|
groupHasNoEnabledMembership
make sure a group has no enabled membership |
|
groupHasNoImmediateEnabledMembership
make sure a group has no immedaite enabled membership |
|
nameMatchesSqlLikeString
make sure the name of the object matches this sql like string (with percent signs and underscores), e.g. school:folder:whatever:%groupSuffix |
|
never
make sure a group has no enabled membership |
|
noGroupInFolderHasImmediateEnabledMembership
make sure no group in folder has an enabled membership |
|
thisGroupAndNotFolderHasImmediateEnabledMembership
make sure this group and not the folder has membership |
|
thisGroupHasImmediateEnabledMembership
if on group which has membership |
|
thisGroupHasImmediateEnabledNoEndDateMembership
if on group which has membership with no end date |
|
thisPermissionDefHasAssignment
if permission def has assignment |
|
thisPermissionDefHasAssignmentAndNotFolder
make sure there is not a membership in folder, but does have an attributeDef |
|
thisPermissionDefHasNoEndDateAssignment
if permission def has assignment with no end date |
Method Summary | |
---|---|
abstract boolean |
isIfOwnerTypeAttributeDef(RuleDefinition ruleDefinition)
Whether or not the rule if condition owner type is an attribute def |
abstract boolean |
isIfOwnerTypeGroup(RuleDefinition ruleDefinition)
Whether or not the rule if condition owner type is a group |
abstract boolean |
isIfOwnerTypeStem(RuleDefinition ruleDefinition)
Whether or not the rule if condition owner type is a stem |
abstract boolean |
shouldFire(RuleDefinition ruleDefinition,
RuleEngine ruleEngine,
RulesBean rulesBean)
should fire |
java.lang.String |
validate(RuleDefinition ruleDefinition)
validate the enum |
static java.lang.String |
validateNoParams(RuleDefinition ruleDefinition)
make sure there are no params |
static RuleIfConditionEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RuleIfConditionEnum |
valueOfIgnoreCase(java.lang.String string,
boolean exceptionOnNull)
do a case-insensitive matching |
static RuleIfConditionEnum[] |
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 |
---|
public static final RuleIfConditionEnum noGroupInFolderHasImmediateEnabledMembership
public static final RuleIfConditionEnum nameMatchesSqlLikeString
public static final RuleIfConditionEnum thisGroupAndNotFolderHasImmediateEnabledMembership
public static final RuleIfConditionEnum thisPermissionDefHasAssignmentAndNotFolder
public static final RuleIfConditionEnum groupHasNoImmediateEnabledMembership
public static final RuleIfConditionEnum thisGroupHasImmediateEnabledMembership
public static final RuleIfConditionEnum thisGroupHasImmediateEnabledNoEndDateMembership
public static final RuleIfConditionEnum thisPermissionDefHasAssignment
public static final RuleIfConditionEnum thisPermissionDefHasNoEndDateAssignment
public static final RuleIfConditionEnum groupHasNoEnabledMembership
public static final RuleIfConditionEnum never
Method Detail |
---|
public static RuleIfConditionEnum[] values()
for (RuleIfConditionEnum c : RuleIfConditionEnum.values()) System.out.println(c);
public static RuleIfConditionEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic abstract boolean shouldFire(RuleDefinition ruleDefinition, RuleEngine ruleEngine, RulesBean rulesBean)
ruleDefinition
- ruleEngine
- rulesBean
-
public abstract boolean isIfOwnerTypeGroup(RuleDefinition ruleDefinition)
ruleDefinition
-
public abstract boolean isIfOwnerTypeStem(RuleDefinition ruleDefinition)
ruleDefinition
-
public abstract boolean isIfOwnerTypeAttributeDef(RuleDefinition ruleDefinition)
ruleDefinition
-
public static RuleIfConditionEnum valueOfIgnoreCase(java.lang.String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entries
public java.lang.String validate(RuleDefinition ruleDefinition)
ruleDefinition
-
public static java.lang.String validateNoParams(RuleDefinition ruleDefinition)
ruleDefinition
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |