java.lang.Object
org.refcodes.observer.AbstractEvent<SRC>
org.refcodes.observer.AbstractActionEvent<A,SRC>
org.refcodes.observer.AbstractMetaDataActionEvent<Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>
org.refcodes.eventbus.ext.application.ApplicationBusEvent
org.refcodes.eventbus.ext.application.PauseBusEvent
All Implemented Interfaces:
org.refcodes.component.ext.observer.ComponentEvent<Enum<?>,ApplicationBus>, org.refcodes.component.ext.observer.LifecycleEvent<Enum<?>,ApplicationBus>, org.refcodes.component.ext.observer.LifecycleRequestEvent<ApplicationBus>, org.refcodes.component.ext.observer.PauseRequestedEvent<ApplicationBus>, org.refcodes.eventbus.EventBrokerEvent<ApplicationBus>, org.refcodes.eventbus.EventDispatcherEvent<Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>, LifecycleBusEvent, org.refcodes.mixin.ActionAccessor<Enum<?>>, org.refcodes.mixin.MetaDataAccessor<org.refcodes.observer.EventMetaData>, org.refcodes.mixin.SourceAccessor<ApplicationBus>, org.refcodes.observer.ActionEvent<Enum<?>,ApplicationBus>, org.refcodes.observer.Event<ApplicationBus>, org.refcodes.observer.MetaDataActionEvent<Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>, org.refcodes.observer.MetaDataEvent<org.refcodes.observer.EventMetaData,ApplicationBus>

public class PauseBusEvent extends ApplicationBusEvent implements LifecycleBusEvent, org.refcodes.component.ext.observer.PauseRequestedEvent<ApplicationBus>
Implementation of the LifecycleBusEvent for LifecycleRequest.PAUSE.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Builder to build PauseBusEvent.

    Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor

    org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.eventbus.EventDispatcherEvent

    org.refcodes.eventbus.EventDispatcherEvent.EventDispatcherEventBuilder<A extends Object,META extends org.refcodes.observer.EventMetaData,SRC extends org.refcodes.eventbus.EventDispatcher<?,?,?,?,?>,B extends org.refcodes.eventbus.EventDispatcherEvent.EventDispatcherEventBuilder<A,META,SRC,B>>

    Nested classes/interfaces inherited from interface org.refcodes.mixin.MetaDataAccessor

    org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD extends Object,B extends org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD,B>>, org.refcodes.mixin.MetaDataAccessor.MetaDataMutator<MD extends Object>, org.refcodes.mixin.MetaDataAccessor.MetaDataProperty<MD extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor

    org.refcodes.mixin.SourceAccessor.SourceBuilder<SRC extends Object,B extends org.refcodes.mixin.SourceAccessor.SourceBuilder<SRC,B>>, org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends Object>
  • Field Summary

    Fields inherited from class org.refcodes.observer.AbstractMetaDataActionEvent

    _eventMetaData

    Fields inherited from class org.refcodes.observer.AbstractActionEvent

    _action
  • Constructor Summary

    Constructors
    Constructor
    Description
    PauseBusEvent(Class<?> aPublisherType, ApplicationBus aSource)
    Instantiates a new pause event.
    PauseBusEvent(String aChannel, Class<?> aPublisherType, ApplicationBus aSource)
    Instantiates a new pause event.
    PauseBusEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
    Instantiates a new pause event.
    PauseBusEvent(String aChannel, ApplicationBus aSource)
    Instantiates a new pause event.
    Instantiates a new pause event.
    PauseBusEvent(org.refcodes.observer.EventMetaData aEventMetaData, ApplicationBus aSource)
    Instantiates a new pause event.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates builder to build PauseBusEvent.
    org.refcodes.component.LifecycleRequest

    Methods inherited from class org.refcodes.observer.AbstractMetaDataActionEvent

    getMetaData, toString

    Methods inherited from class org.refcodes.observer.AbstractEvent

    getSource

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.refcodes.mixin.MetaDataAccessor

    getMetaData

    Methods inherited from interface org.refcodes.mixin.SourceAccessor

    getSource
  • Constructor Details

    • PauseBusEvent

      public PauseBusEvent(org.refcodes.observer.EventMetaData aEventMetaData, ApplicationBus aSource)
      Instantiates a new pause event.
      Parameters:
      aEventMetaData - the event Meta-Data
      aSource - The according source (origin).
    • PauseBusEvent

      public PauseBusEvent(ApplicationBus aSource)
      Instantiates a new pause event.
      Parameters:
      aSource - The according source (origin).
    • PauseBusEvent

      public PauseBusEvent(String aChannel, ApplicationBus aSource)
      Instantiates a new pause event.
      Parameters:
      aChannel - The channel for the EventMetaData.
      aSource - The according source (origin).
    • PauseBusEvent

      public PauseBusEvent(Class<?> aPublisherType, ApplicationBus aSource)
      Instantiates a new pause event.
      Parameters:
      aPublisherType - The publisher type for the EventMetaData.
      aSource - The according source (origin).
    • PauseBusEvent

      public PauseBusEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
      Instantiates a new pause event.
      Parameters:
      aAlias - The alias for the EventMetaData.
      aGroup - The group for the EventMetaData.
      aChannel - The channel for the EventMetaData.
      aUid - The Universal-TID for the EventMetaData.
      aPublisherType - The publisher type for the EventMetaData.
      aSource - The according source (origin).
    • PauseBusEvent

      public PauseBusEvent(String aChannel, Class<?> aPublisherType, ApplicationBus aSource)
      Instantiates a new pause event.
      Parameters:
      aChannel - The channel for the EventMetaData.
      aPublisherType - The publisher type for the EventMetaData.
      aSource - The according source (origin).
  • Method Details

    • getAction

      public org.refcodes.component.LifecycleRequest getAction()
      Specified by:
      getAction in interface org.refcodes.mixin.ActionAccessor<Enum<?>>
      Specified by:
      getAction in interface org.refcodes.component.ext.observer.LifecycleRequestEvent<ApplicationBus>
      Specified by:
      getAction in interface org.refcodes.component.ext.observer.PauseRequestedEvent<ApplicationBus>
      Overrides:
      getAction in class org.refcodes.observer.AbstractActionEvent<Enum<?>,ApplicationBus>
    • builder

      public static PauseBusEvent.Builder builder()
      Creates builder to build PauseBusEvent.
      Returns:
      created builder