Class MetaDataActionEventBuilderImpl

    • Constructor Detail

      • MetaDataActionEventBuilderImpl

        public MetaDataActionEventBuilderImpl​(org.refcodes.mixin.EventMetaData aEventMetaData,
                                              Object aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aEventMetaData - The Meta-Data to by supplied by the event.
        aSource - The source from which this event originated.
      • MetaDataActionEventBuilderImpl

        public MetaDataActionEventBuilderImpl​(Enum<?> aAction,
                                              org.refcodes.mixin.EventMetaData aEventMetaData,
                                              Object aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aAction - The action which the GenericActionEvent represents.
        aEventMetaData - The Meta-Data to by supplied by the event.
        aSource - The source from which this event originated.
      • MetaDataActionEventBuilderImpl

        public MetaDataActionEventBuilderImpl​(Enum<?> aAction,
                                              Object aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aAction - The action which the GenericActionEvent represents.
        aSource - The source from which this event originated.
      • MetaDataActionEventBuilderImpl

        public MetaDataActionEventBuilderImpl​(Object aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aSource - The source from which this event originated.
      • MetaDataActionEventBuilderImpl

        public MetaDataActionEventBuilderImpl​(Class<?> aPublisherType,
                                              Object aSource)
        Constructs an event with predefined values for the according properties retrieved from the caller's class.
        Parameters:
        aPublisherType - The type of the event publisher.
        aSource - The source from which this event originated.
      • MetaDataActionEventBuilderImpl

        public MetaDataActionEventBuilderImpl​(String aChannel,
                                              Object aSource)
        Constructs an event with predefined values for the according properties retrieved from the caller's class.
        Parameters:
        aChannel - The channel name on which the event is receivable.
        aSource - The source from which this event originated.
      • MetaDataActionEventBuilderImpl

        public MetaDataActionEventBuilderImpl​(String aAlias,
                                              String aGroup,
                                              String aChannel,
                                              String aUid,
                                              Class<?> aPublisherType,
                                              Object aSource)
        Constructs an event with the given values for the according properties.
        Parameters:
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-TID) property.
        aPublisherType - The type of the event publisher.
        aSource - The source from which this event originated.
      • MetaDataActionEventBuilderImpl

        public MetaDataActionEventBuilderImpl​(Enum<?> aAction,
                                              Class<?> aPublisherType,
                                              Object aSource)
        Constructs an event with predefined values for the according properties retrieved from the caller's class.
        Parameters:
        aAction - The action which this represents.
        aPublisherType - The type of the event publisher.
        aSource - The source from which this event originated.
      • MetaDataActionEventBuilderImpl

        public MetaDataActionEventBuilderImpl​(Enum<?> aAction,
                                              String aChannel,
                                              Object aSource)
        Constructs an event with predefined values for the according properties retrieved from the caller's class.
        Parameters:
        aAction - The action which this represents.
        aChannel - The channel name on which the event is receivable.
        aSource - The source from which this event originated.
      • MetaDataActionEventBuilderImpl

        public MetaDataActionEventBuilderImpl​(Enum<?> aAction,
                                              String aAlias,
                                              String aGroup,
                                              String aChannel,
                                              String aUid,
                                              Class<?> aPublisherType,
                                              Object aSource)
        Constructs an event with the given values for the according properties.
        Parameters:
        aAction - The action which this represents.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-TID) property.
        aPublisherType - The type of the event publisher.
        aSource - The source from which this event originated.
    • Method Detail

      • setPublisherType

        public void setPublisherType​(Class<?> aPublisherType)
        Specified by:
        setPublisherType in interface org.refcodes.mixin.EventMetaData.EventMetaDataBuilder
      • setUniversalId

        public void setUniversalId​(String aUid)
        Specified by:
        setUniversalId in interface org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator
      • setAlias

        public void setAlias​(String aAlias)
        Specified by:
        setAlias in interface org.refcodes.mixin.AliasAccessor.AliasMutator
      • setGroup

        public void setGroup​(String aGroup)
        Specified by:
        setGroup in interface org.refcodes.mixin.GroupAccessor.GroupMutator
      • setChannel

        public void setChannel​(String aChannel)
        Specified by:
        setChannel in interface org.refcodes.mixin.ChannelAccessor.ChannelMutator
      • setMetaData

        public void setMetaData​(org.refcodes.mixin.EventMetaData aMetaData)
        Specified by:
        setMetaData in interface org.refcodes.mixin.MetaDataAccessor.MetaDataMutator<org.refcodes.mixin.EventMetaData>