Class LocalEventData


  • public class LocalEventData
    extends Object
    Represents a remote event with all its datas.
    Since:
    2.0M3
    Version:
    $Id: d91f136eb61a0f9dc3b3904c8ea7fd74d4bfd266 $
    • Constructor Detail

      • LocalEventData

        public LocalEventData()
        Default constructor.
      • LocalEventData

        public LocalEventData​(org.xwiki.observation.event.Event event,
                              Object source,
                              Object data)
        Parameters:
        event - the event type.
        source - the event source.
        data - the event data.
    • Method Detail

      • getEvent

        public org.xwiki.observation.event.Event getEvent()
        Returns:
        the event type.
      • setEvent

        public void setEvent​(org.xwiki.observation.event.Event event)
        Parameters:
        event - the event type.
      • getSource

        public Object getSource()
        Returns:
        the event source.
      • setSource

        public void setSource​(Object source)
        Parameters:
        source - the event source.
      • getData

        public Object getData()
        Returns:
        the event data.
      • setData

        public void setData​(Object data)
        Parameters:
        data - the event data.