Class AbstractRuleRegistryEvent

    • Constructor Detail

      • AbstractRuleRegistryEvent

        public AbstractRuleRegistryEvent​(String topic,
                                         String payload,
                                         String source,
                                         RuleDTO rule)
        Must be called in subclass constructor to create a new rule registry event.
        Parameters:
        topic - the topic of the event
        payload - the payload of the event
        source - the source of the event
        ruleDTO - the ruleDTO for which this event is created
    • Method Detail

      • getRule

        public RuleDTO getRule()
        Returns:
        the RuleDTO which caused the Event