|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.internet2.middleware.grouper.rules.RuleIfCondition
public class RuleIfCondition
rule if condition
Constructor Summary | |
---|---|
RuleIfCondition()
|
|
RuleIfCondition(String ifConditionEl1,
String ifConditionEnum1,
String theIfOwnerId,
String theIfOwnerName,
String theStemScope,
String theIfConditionEnumArg0,
String theIfConditionEnumArg1)
|
Method Summary | |
---|---|
String |
getIfConditionEl()
if it is an el, put that here |
String |
getIfConditionEnum()
if it is an enum, put that here |
String |
getIfConditionEnumArg0()
if it is an enum, this is the first arg if applicable |
String |
getIfConditionEnumArg1()
if it is an enum, this is the second arg if applicable |
String |
getIfOwnerId()
if the enum needs an owner, this is the id |
String |
getIfOwnerName()
if the enum needs an owner, this is the name |
String |
getIfStemScope()
if a stem, this is the scope of ONE or SUB |
RuleIfConditionEnum |
ifConditionEnum()
convert the type to an enum |
void |
setIfConditionEl(String ifConditionEl1)
if it is an el, put that here |
void |
setIfConditionEnum(String ifConditionEnum1)
if it is an enum, put that here |
void |
setIfConditionEnumArg0(String ifConditionEnumArg0_)
if it is an enum, this is the first arg if applicable |
void |
setIfConditionEnumArg1(String ifConditionEnumArg1_)
if it is an enum, this is the first arg if applicable |
void |
setIfOwnerId(String ifOwnerId1)
if the enum needs an owner, this is the id |
void |
setIfOwnerName(String ifOwnerName1)
if the enum needs an owner, this is the name |
void |
setIfStemScope(String ifStemScope1)
if a stem, this is the scope of ONE or SUB |
boolean |
shouldFire(RuleDefinition ruleDefinition,
RuleEngine ruleEngine,
RulesBean rulesBean,
StringBuilder logDataForThisDefinition)
if this check passes |
String |
toString()
|
String |
validate(RuleDefinition ruleDefinition)
validate this |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RuleIfCondition()
public RuleIfCondition(String ifConditionEl1, String ifConditionEnum1, String theIfOwnerId, String theIfOwnerName, String theStemScope, String theIfConditionEnumArg0, String theIfConditionEnumArg1)
ifConditionEl1
- ifConditionEnum1
- theIfOwnerId
- theIfOwnerName
- theStemScope
- theIfConditionEnumArg0
- theIfConditionEnumArg1
- Method Detail |
---|
public String getIfConditionEnumArg0()
public void setIfConditionEnumArg0(String ifConditionEnumArg0_)
ifConditionEnumArg0_
- public String getIfConditionEnumArg1()
public void setIfConditionEnumArg1(String ifConditionEnumArg1_)
ifConditionEnumArg1_
- public String getIfStemScope()
public void setIfStemScope(String ifStemScope1)
ifStemScope1
- public String getIfOwnerName()
public void setIfOwnerName(String ifOwnerName1)
ifOwnerName1
- public String getIfOwnerId()
public void setIfOwnerId(String ifOwnerId1)
ifOwnerId1
- public String getIfConditionEl()
public void setIfConditionEl(String ifConditionEl1)
ifConditionEl1
- public String getIfConditionEnum()
public void setIfConditionEnum(String ifConditionEnum1)
ifConditionEnum1
- public RuleIfConditionEnum ifConditionEnum()
public String toString()
toString
in class Object
Object.toString()
public String validate(RuleDefinition ruleDefinition)
ruleDefinition
-
public boolean shouldFire(RuleDefinition ruleDefinition, RuleEngine ruleEngine, RulesBean rulesBean, StringBuilder logDataForThisDefinition)
ruleDefinition
- ruleEngine
- rulesBean
- logDataForThisDefinition
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |