org.opengts.rule
Interface RuleListener
public interface RuleListener
 
handleRuleNotification
void handleRuleNotification(Account account,
                            Device device,
                            EventData event,
                            boolean isCronMode,
                            java.lang.String selector,
                            Rule rule)
- Callback to handle a rule notification trigger
- Parameters:
 account - The account which triggered the ruledevice - The device which triggered the rule (may be null)event - The event which triggered the rule (may be null)isCronMode - True if executed from the 'Cron' task, 
                   False is executed from a normal incoming event analysis.selector - The rule selector that triggered this notificationrule - The rule record from which the selector was obtained. May
                   be null if the selector was not provided by a Rule record.