Class AbstractEventConverter
- java.lang.Object
-
- org.xwiki.observation.remote.converter.AbstractEventConverter
-
- All Implemented Interfaces:
LocalEventConverter
,RemoteEventConverter
public abstract class AbstractEventConverter extends Object implements LocalEventConverter, RemoteEventConverter
Base class for events converters. Provide a default priority.- Since:
- 2.0M3
- Version:
- $Id: 096f78e285d56335fb6521a85c8e16f7d3b30554 $
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_PRIORITY
The default priority.
-
Constructor Summary
Constructors Constructor Description AbstractEventConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPriority()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xwiki.observation.remote.converter.LocalEventConverter
toRemote
-
Methods inherited from interface org.xwiki.observation.remote.converter.RemoteEventConverter
fromRemote
-
-
-
-
Field Detail
-
DEFAULT_PRIORITY
public static final int DEFAULT_PRIORITY
The default priority.- Since:
- 6.0RC1
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfaceLocalEventConverter
- Specified by:
getPriority
in interfaceRemoteEventConverter
- Returns:
- the priority of the converter
-
-