org.xwiki.observation.remote.converter
Interface LocalEventConverter
- All Known Implementing Classes:
- AbstractEventConverter
@ComponentRole
public interface LocalEventConverter
Convert a local event to a serializable remote event.
- Since:
- 2.0M3
- Version:
- $Id$
getPriority
int getPriority()
- Returns:
- the priority of the converter
toRemote
boolean toRemote(LocalEventData localEvent,
RemoteEventData remoteEvent)
- Convert provided local event to remote event by filling the provided remote event object.
- Parameters:
localEvent - the local eventremoteEvent - the remote event
- Returns:
- if the converter support this conversion it should return true after the conversion, otherwise false
Copyright © 2004-2011 XWiki. All Rights Reserved.