Class ClearNotificationsEvent

  • All Implemented Interfaces:
    CockpitEvent
    Direct Known Subclasses:
    ClearNotificationsEvent

    @Deprecated(since="1811",
                forRemoval=true)
    public class ClearNotificationsEvent
    extends java.lang.Object
    implements CockpitEvent
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 1811
    Event used to clear displayed notifications.
    See Also:
    ClearNotificationsEvent
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String EVENT_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      ClearNotificationsEvent​(java.lang.String source)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      ClearNotificationsEvent​(java.lang.String source, NotificationEvent.Level level)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Object getData()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      NotificationEvent.Level getLevel()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.String getSource()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EVENT_NAME

        public static final java.lang.String EVENT_NAME
        Deprecated, for removal: This API element is subject to removal in a future version.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ClearNotificationsEvent

        public ClearNotificationsEvent​(java.lang.String source,
                                       NotificationEvent.Level level)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        source - identity of notifications source
        level - importance level of notifications to be removed
      • ClearNotificationsEvent

        public ClearNotificationsEvent​(java.lang.String source)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        source - identity of notification source
    • Method Detail

      • getName

        public java.lang.String getName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getName in interface CockpitEvent
        Returns:
        The name of the event.
      • getData

        public java.lang.Object getData()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getData in interface CockpitEvent
        Returns:
        The data attached to the event. Can be null.
      • getSource

        public java.lang.String getSource()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getSource in interface CockpitEvent
        Returns:
        The event source, i.e. the object which has fired the event. Can be null.
      • getLevel

        public NotificationEvent.Level getLevel()
        Deprecated, for removal: This API element is subject to removal in a future version.