Class RuleThen
java.lang.Object
edu.internet2.middleware.grouper.rules.RuleThen
rule then part
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
fireRule
(RuleDefinition ruleDefinition, RuleEngine ruleEngine, RulesBean rulesBean, StringBuilder logDataForThisDefinition) fire this ruleif it is an el, put that hereif it is an enum, put that herearg0 to the then clausearg2 to the then clausevoid
if it is an el, put that herevoid
setThenEnum
(String thenEnum1) if it is an enum, put that herevoid
setThenEnumArg0
(String theThenEnumArg0) arg0 to the then clausevoid
setThenEnumArg1
(String theThenEnumArg1) then enum arg1void
setThenEnumArg2
(String _thenEnumArg2) arg2 to the then clausethenEnum()
convert the type to an enumtoString()
validate
(RuleDefinition ruleDefinition) validate this
-
Constructor Details
-
Method Details
-
getThenEnumArg0
arg0 to the then clause- Returns:
- arg0
-
setThenEnumArg0
arg0 to the then clause- Parameters:
theThenEnumArg0
-
-
getThenEnumArg1
- Returns:
- arg1
-
setThenEnumArg1
then enum arg1- Parameters:
theThenEnumArg1
-
-
getThenEnumArg2
arg2 to the then clause- Returns:
- arg2 to the then clause
-
setThenEnumArg2
arg2 to the then clause- Parameters:
_thenEnumArg2
-
-
getThenEl
if it is an el, put that here- Returns:
- el
-
setThenEl
if it is an el, put that here- Parameters:
thenEl1
-
-
getThenEnum
if it is an enum, put that here- Returns:
- enum
-
setThenEnum
if it is an enum, put that here- Parameters:
thenEnum1
-
-
thenEnum
convert the type to an enum- Returns:
- rule check type
-
toString
-
validate
validate this- Parameters:
ruleDefinition
-- Returns:
- error or null if ok
-
fireRule
public void fireRule(RuleDefinition ruleDefinition, RuleEngine ruleEngine, RulesBean rulesBean, StringBuilder logDataForThisDefinition) fire this rule- Parameters:
ruleDefinition
-ruleEngine
-rulesBean
-logDataForThisDefinition
- if logger if logging, else not
-