public class RuleDefinition extends Object
Constructor and Description |
---|
RuleDefinition() |
RuleDefinition(Set<AttributeAssignValueContainer> attributeAssignValueContainers)
rule definitions from attribute assigns
|
RuleDefinition(String attributeTypeAssignId)
load rules for one attribute type assign id
|
Modifier and Type | Method and Description |
---|---|
void |
addElVariables(Map<String,Object> variableMap,
RulesBean rulesBean,
boolean hasAccessToEl)
add EL variables to the substitute map
|
RuleSubjectActAs |
getActAs()
who this rule acts as
|
AttributeAssign |
getAttributeAssignType()
keep a reference to this to get back to the owner etc
|
RuleCheck |
getCheck()
when this rules is triggered
|
RuleIfCondition |
getIfCondition()
only fire if this condition occurs
|
String |
getRunDaemon() |
RuleThen |
getThen()
do this when the rule fires
|
boolean |
isRunDaemonBoolean()
run daemon, true by default
|
boolean |
runDaemonOnDefinitionIfShould()
if we should run the daemon, then do
|
void |
setActAs(RuleSubjectActAs actAs1)
who this rule acts as
|
void |
setAttributeAssignType(AttributeAssign attributeAssignType1)
keep a reference to this to get back to the owner etc
|
void |
setCheck(RuleCheck check1)
when this rules is triggered
|
void |
setIfCondition(RuleIfCondition ifCondition1)
only fire if this condition occurs
|
void |
setThen(RuleThen then1)
do this when the rule fires
|
boolean |
shouldLog()
if we should log this rule definition
|
String |
toString() |
String |
validate()
validate this
|
public RuleDefinition(String attributeTypeAssignId)
attributeTypeAssignId
- public RuleDefinition(Set<AttributeAssignValueContainer> attributeAssignValueContainers)
attributeAssignValueContainers
- public RuleDefinition()
public AttributeAssign getAttributeAssignType()
public void setAttributeAssignType(AttributeAssign attributeAssignType1)
attributeAssignType1
- the attributeAssignType to setpublic RuleSubjectActAs getActAs()
public void setActAs(RuleSubjectActAs actAs1)
actAs1
- public RuleCheck getCheck()
public void setCheck(RuleCheck check1)
check1
- public RuleIfCondition getIfCondition()
public void setIfCondition(RuleIfCondition ifCondition1)
ifCondition1
- public RuleThen getThen()
public void setThen(RuleThen then1)
then1
- public String getRunDaemon()
public boolean runDaemonOnDefinitionIfShould()
public String toString()
toString
in class Object
Object.toString()
public String validate()
public boolean isRunDaemonBoolean()
public boolean shouldLog()
Copyright © 2016 Internet2. All rights reserved.