Class WrapperLoggingEvent

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    WrapperLogFileChangedEvent

    public abstract class WrapperLoggingEvent
    extends WrapperEvent
    WrapperLoggingEvents are used to notify the listener of events related to logging such as updates to the log file name.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected WrapperLoggingEvent()
      Creates a new WrapperLoggingEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getFlags()
      Returns a set of event flags for which the event should be fired.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WrapperLoggingEvent

        protected WrapperLoggingEvent()
        Creates a new WrapperLoggingEvent.
    • Method Detail

      • getFlags

        public long getFlags()
        Returns a set of event flags for which the event should be fired. This value is compared with the mask supplied when when a WrapperEventListener is registered to decide which listeners should receive the event.

        If subclassed, the return value of the super class should usually be ORed with any additional flags.

        Overrides:
        getFlags in class WrapperEvent
        Returns:
        a set of event flags.