Class ChannelRestartEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class ChannelRestartEvent
    extends AdapterLifecycleEvent

    AdapterLifecycleEvent indicating a Channel restart.

    See Also:
    Serialized Form

    In the adapter configuration file this class is aliased as channel-restart-event which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • ChannelRestartEvent

        public ChannelRestartEvent()

        Creates a new instance.

    • Method Detail

      • getChannelFriendlyName

        public java.lang.String getChannelFriendlyName()

        Returns the friendly name of the Channel if one has been configured.

        Returns:
        the friendly name of the Channel if one has been configured
      • setChannelFriendlyName

        public void setChannelFriendlyName​(java.lang.String s)

        Sets the friendly name of the Channel if one has been configured.

        Parameters:
        s - the friendly name of the Channel if one has been configured