Class AbstractExtensionEvent

    • Constructor Detail

      • AbstractExtensionEvent

        public AbstractExtensionEvent()
        Default constructor.
      • AbstractExtensionEvent

        protected AbstractExtensionEvent​(ExtensionId extensionId,
                                         String namespace)
        Parameters:
        extensionId - the event related extension identifier
        namespace - the namespace on which the event happened
      • AbstractExtensionEvent

        protected AbstractExtensionEvent​(ExtensionId extensionId)
        Parameters:
        extensionId - the event related extension identifier
        Since:
        9.0RC1, 8.4.1, 7.4.6
    • Method Detail

      • getNamespace

        public String getNamespace()
        Specified by:
        getNamespace in interface ExtensionEvent
        Returns:
        the namespace on which the event happened, null mean root namespace
      • hasNamespace

        public boolean hasNamespace()
        Specified by:
        hasNamespace in interface ExtensionEvent
        Returns:
        indicate of the namespace has been set in this event
      • matches

        public boolean matches​(Object event)
        Specified by:
        matches in interface Event