Class RuleRemovedEvent

  • All Implemented Interfaces:
    Event

    @NonNullByDefault
    public class RuleRemovedEvent
    extends AbstractRuleRegistryEvent
    An RuleRemovedEvent notifies subscribers that a rule has been removed.
    Author:
    Benedikt Niehues - Initial contribution
    • Field Detail

      • TYPE

        public static final String TYPE
    • Constructor Detail

      • RuleRemovedEvent

        public RuleRemovedEvent​(String topic,
                                String payload,
                                @Nullable String source,
                                RuleDTO rule)
        Constructs a new rule removed event
        Parameters:
        topic - the topic of the event
        payload - the payload of the event
        source - the source of the event
        rule - the rule for which this event is
    • Method Detail

      • getType

        public String getType()
        Description copied from interface: Event
        Gets the event type.
        Returns:
        the event type