org.xwiki.observation.remote
Class LocalEventData
java.lang.Object
org.xwiki.observation.remote.LocalEventData
public class LocalEventData
- extends java.lang.Object
Represents a remote event with all its datas.
- Since:
- 2.0M3
- Version:
- $Id$
|
Constructor Summary |
LocalEventData()
Default constructor. |
LocalEventData(org.xwiki.observation.event.Event event,
java.lang.Object source,
java.lang.Object data)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocalEventData
public LocalEventData()
- Default constructor.
LocalEventData
public LocalEventData(org.xwiki.observation.event.Event event,
java.lang.Object source,
java.lang.Object data)
- Parameters:
event - the event type.source - the event source.data - the event data.
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 java.lang.Object getSource()
- Returns:
- the event source.
setSource
public void setSource(java.lang.Object source)
- Parameters:
source - the event source.
getData
public java.lang.Object getData()
- Returns:
- the event data.
setData
public void setData(java.lang.Object data)
- Parameters:
data - the event data.
toString
public java.lang.String toString()
-
- Overrides:
toString in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2004-2011 XWiki. All Rights Reserved.