Package org.xwiki.observation.remote
Class RemoteEventData
- java.lang.Object
-
- org.xwiki.observation.remote.RemoteEventData
-
- All Implemented Interfaces:
Serializable
public class RemoteEventData extends Object implements Serializable
Represents a remote event with all its datas.- Since:
- 2.0M3
- Version:
- $Id: c8f24b38ab258bbb77481300f421d097acab53bc $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoteEventData()
The default constructor.RemoteEventData(Serializable event, Serializable source, Serializable data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Serializable
getData()
Serializable
getEvent()
Serializable
getSource()
void
setData(Serializable data)
void
setEvent(Serializable event)
void
setSource(Serializable source)
String
toString()
-
-
-
Constructor Detail
-
RemoteEventData
public RemoteEventData()
The default constructor.
-
RemoteEventData
public RemoteEventData(Serializable event, Serializable source, Serializable data)
- Parameters:
event
- the event type.source
- the event source.data
- the event data.- Since:
- 12.2, 11.10.4
-
-
Method Detail
-
getEvent
public Serializable getEvent()
- Returns:
- the event type.
-
setEvent
public void setEvent(Serializable event)
- Parameters:
event
- the event type.
-
getSource
public Serializable getSource()
- Returns:
- the event source.
-
setSource
public void setSource(Serializable source)
- Parameters:
source
- the event source.
-
getData
public Serializable getData()
- Returns:
- the event data.
-
setData
public void setData(Serializable data)
- Parameters:
data
- the event data.
-
-