Package org.xwiki.observation.remote
Class LocalEventData
- java.lang.Object
-
- org.xwiki.observation.remote.LocalEventData
-
public class LocalEventData extends Object
Represents a remote event with all its datas.- Since:
- 2.0M3
- Version:
- $Id: d91f136eb61a0f9dc3b3904c8ea7fd74d4bfd266 $
-
-
Constructor Summary
Constructors Constructor Description LocalEventData()
Default constructor.LocalEventData(org.xwiki.observation.event.Event event, Object source, Object data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getData()
org.xwiki.observation.event.Event
getEvent()
Object
getSource()
void
setData(Object data)
void
setEvent(org.xwiki.observation.event.Event event)
void
setSource(Object source)
String
toString()
-
-
-
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.
-
-