com.atlassian.plugin.event.listeners
Class RecordingListener

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

public class RecordingListener
extends java.lang.Object


Constructor Summary
RecordingListener(java.lang.Class... eventClasses)
           
 
Method Summary
 void channel(java.lang.Object event)
           
 java.util.List<java.lang.Class> getEventClasses()
           
 java.util.List<java.lang.String> getEventPluginOrModuleKeys()
           
 java.util.List<java.lang.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(java.lang.Class... eventClasses)
Method Detail

channel

public void channel(java.lang.Object event)

getEvents

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

getEventClasses

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

reset

public void reset()

getEventPluginOrModuleKeys

public java.util.List<java.lang.String> getEventPluginOrModuleKeys()


Copyright © 2012 Atlassian. All Rights Reserved.