Class NoOpEventPublisher

  • All Implemented Interfaces:
    com.atlassian.event.api.EventListenerRegistrar, com.atlassian.event.api.EventPublisher

    public class NoOpEventPublisher
    extends Object
    implements com.atlassian.event.api.EventPublisher
    Used in bootstrap code when we don't want to publish any events.
    Since:
    3.5.3
    • Constructor Detail

      • NoOpEventPublisher

        public NoOpEventPublisher()
    • 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