com.atlassian.jira
Class MockEventPublisher

java.lang.Object
  extended by com.atlassian.jira.MockEventPublisher
All Implemented Interfaces:
com.atlassian.event.api.EventListenerRegistrar, com.atlassian.event.api.EventPublisher

public class MockEventPublisher
extends Object
implements com.atlassian.event.api.EventPublisher

Since:
v5.0

Constructor Summary
MockEventPublisher()
           
 
Method Summary
 void publish(Object event)
           
 void register(Object listener)
           
 void unregister(Object listener)
           
 void unregisterAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockEventPublisher

public MockEventPublisher()
Method Detail

publish

public void publish(Object event)
Specified by:
publish in interface com.atlassian.event.api.EventPublisher

register

public void register(Object listener)
Specified by:
register in interface com.atlassian.event.api.EventListenerRegistrar

unregister

public void unregister(Object listener)
Specified by:
unregister in interface com.atlassian.event.api.EventListenerRegistrar

unregisterAll

public void unregisterAll()
Specified by:
unregisterAll in interface com.atlassian.event.api.EventListenerRegistrar


Copyright © 2002-2013 Atlassian. All Rights Reserved.