Class SingletonCapableEvent

  • All Implemented Interfaces:
    ChainableEvent, Event

    public abstract class SingletonCapableEvent
    extends AbstractChainableEvent
    This class makes it possible to specify event types which should only be processed sequentially (one at a time). This works in conjunction with the AbstractChainableEvent.chainIdentifier. In order for a SingletonCapableEvent to instruct singleton behavior, isSingleton should be 'true' and a static chainIdentifier should be specified.
    Since:
    1.7.0
    Author:
    Steve Springett
    • Constructor Detail

      • SingletonCapableEvent

        public SingletonCapableEvent()
    • Method Detail

      • isSingleton

        public boolean isSingleton()
      • setSingleton

        public void setSingleton​(boolean singleton)