public interface RuleEvent
Modifier and Type | Method and Description |
---|---|
List<RuleEvent> |
generateEvents()
This will return a list of events that are spawned from this event.
|
String |
getDescription()
A description of the event.
|
String |
getErrorPathPrefix() |
Map<String,Object> |
getFacts()
The map that holds the data that to be validated.
|
String |
getName()
The name of the event.
|
Class<? extends BusinessRule> |
getRuleInterfaceClass()
Returns the interface that classes must implement to receive this event.
|
String |
getRuleMethodName()
The method name of the rule class to invoke.
|
boolean |
invokeRuleMethod(BusinessRule rule)
Invokes the event handling method on the rule object.
|
void |
validate()
Validates the event has all the necessary properties.
|
String getDescription()
String getErrorPathPrefix()
Class<? extends BusinessRule> getRuleInterfaceClass()
String getRuleMethodName()
If the rule method name is specified, then that business rule method is invoked to apply custom rules, else the default method is invoked.
Map<String,Object> getFacts()
void validate()
boolean invokeRuleMethod(BusinessRule rule)
rule
- business ruleList<RuleEvent> generateEvents()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.