Class EventConfigImpl

  • All Implemented Interfaces:
    EventConfig

    public class EventConfigImpl
    extends Object
    implements EventConfig
    Implementation of EventConfig.
    Since:
    1.0.0.1
    • Constructor Detail

      • EventConfigImpl

        public EventConfigImpl​(int order,
                               boolean acceptsCancelled,
                               boolean exact)
        Constructs a new EventConfigImpl.
        Parameters:
        order - the post order
        acceptsCancelled - if cancelled events are accepted
        exact - if only the exact event type is accepted
        Since:
        1.0.0.1
    • Method Detail

      • order

        public int order()
        Description copied from interface: EventConfig
        Gets the post order.
        Specified by:
        order in interface EventConfig
        Returns:
        the post order
      • acceptsCancelled

        public boolean acceptsCancelled()
        Description copied from interface: EventConfig
        Gets if cancelled events are accepted.
        Specified by:
        acceptsCancelled in interface EventConfig
        Returns:
        if cancelled events are accepted
      • exact

        public boolean exact()
        Description copied from interface: EventConfig
        Gets if only the exact event type is accepted.
        Specified by:
        exact in interface EventConfig
        Returns:
        if only the exact event type is accepted