org.xwiki.observation.remote.converter
Class AbstractEventConverter

java.lang.Object
  extended by 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: cb194aac094fabf6b2a2670dcfecb35945a1b67f $

Field Summary
static int DEFAULT_PRIORITY
          The default priority.
 
Constructor Summary
AbstractEventConverter()
           
 
Method Summary
 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
Constructor Detail

AbstractEventConverter

public AbstractEventConverter()
Method Detail

getPriority

public int getPriority()
Specified by:
getPriority in interface LocalEventConverter
Specified by:
getPriority in interface RemoteEventConverter
Returns:
the priority of the converter


Copyright © 2004–2014 XWiki. All rights reserved.