Class SingletonCapableEvent

java.lang.Object
alpine.event.framework.AbstractChainableEvent
alpine.event.framework.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 Details

    • SingletonCapableEvent

      public SingletonCapableEvent()
  • Method Details

    • isSingleton

      public boolean isSingleton()
    • setSingleton

      public void setSingleton(boolean singleton)