Class RuleStatusInfoEvent

  • All Implemented Interfaces:
    Event

    public class RuleStatusInfoEvent
    extends AbstractEvent
    An RuleStatusInfoEvent notifies subscribers that a rule status has been updated.
    Author:
    Benedikt Niehues - Initial contribution, Kai Kreuzer - added toString method
    • Field Detail

      • TYPE

        public static final String TYPE
    • Constructor Detail

      • RuleStatusInfoEvent

        public RuleStatusInfoEvent​(String topic,
                                   String payload,
                                   String source,
                                   RuleStatusInfo statusInfo,
                                   String ruleId)
        constructs a new rule status event
        Parameters:
        topic - the topic of the event
        payload - the payload of the event
        source - the source of the event
        statusInfo - the status info for this event
        ruleId - 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
      • getStatusInfo

        public RuleStatusInfo getStatusInfo()
        Returns:
        the statusInfo
      • getRuleId

        public String getRuleId()
        Returns:
        the ruleId