com.atlassian.plugin.event.listeners
Class RecordingListener

java.lang.Object
  extended by com.atlassian.plugin.event.listeners.RecordingListener

public class RecordingListener
extends Object


Constructor Summary
RecordingListener(Class... eventClasses)
           
 
Method Summary
 void channel(Object event)
           
 List<Class> getEventClasses()
           
 List<String> getEventPluginOrModuleKeys()
           
 List<Object> getEvents()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordingListener

public RecordingListener(Class... eventClasses)
Method Detail

channel

public void channel(Object event)

getEvents

public List<Object> getEvents()
Returns:
the events received by this listener in the order they were received

getEventClasses

public List<Class> getEventClasses()
Returns:
the classes of each event received by this listener in the order they were received

reset

public void reset()

getEventPluginOrModuleKeys

public List<String> getEventPluginOrModuleKeys()


Copyright © 2015 Atlassian. All rights reserved.