Class EntryReplacedEvent<E>

  • All Implemented Interfaces:
    RegistryEvent

    public class EntryReplacedEvent<E>
    extends java.lang.Object
    • Method Detail

      • getEventType

        public RegistryEvent.Type getEventType()
        Description copied from interface: RegistryEvent
        Returns the type of the Registry event.
        Returns:
        the type of the Registry event
      • getOldEntry

        public E getOldEntry()
        Returns the old entry.
        Returns:
        the old entry
      • getNewEntry

        public E getNewEntry()
        Returns the new entry.
        Returns:
        the new entry
      • getCreationTime

        public java.time.ZonedDateTime getCreationTime()
        Description copied from interface: RegistryEvent
        Returns the creation time of Registry event.
        Specified by:
        getCreationTime in interface RegistryEvent
        Returns:
        the creation time of Registry event