org.xwiki.observation.remote.converter
Interface RemoteEventConverter

All Known Implementing Classes:
AbstractEventConverter

@Role
public interface RemoteEventConverter

Convert a remote event to a local event.

Since:
2.0M3
Version:
$Id: 8a8fdd8c805d26b0b028985ecec7030f2fcbea91 $

Method Summary
 boolean fromRemote(RemoteEventData remoteEvent, LocalEventData localEvent)
          Convert provided remote event to local event by filling the provided local event object.
 int getPriority()
           
 

Method Detail

getPriority

int getPriority()
Returns:
the priority of the converter

fromRemote

boolean fromRemote(RemoteEventData remoteEvent,
                   LocalEventData localEvent)
Convert provided remote event to local event by filling the provided local event object.

Parameters:
remoteEvent - the remote event
localEvent - the local event
Returns:
if the converter support this conversion it should return true after the conversion, otherwise false


Copyright © 2004-2012 XWiki. All Rights Reserved.