Enum Class SequentialTriggerConcurrencyMode

java.lang.Object
java.lang.Enum<SequentialTriggerConcurrencyMode>
gg.xp.xivsupport.events.triggers.seq.SequentialTriggerConcurrencyMode
All Implemented Interfaces:
HasFriendlyName, Serializable, Comparable<SequentialTriggerConcurrencyMode>, Constable

public enum SequentialTriggerConcurrencyMode extends Enum<SequentialTriggerConcurrencyMode> implements HasFriendlyName
Determines what happens when a sequential trigger hits its start condition while it is already running.
  • Enum Constant Details

    • BLOCK_NEW

      public static final SequentialTriggerConcurrencyMode BLOCK_NEW
      The default: Once the trigger has started, it cannot be started again until it has finished. Identical to the behavior before these settings were added.
    • REPLACE_OLD

      public static final SequentialTriggerConcurrencyMode REPLACE_OLD
      When the start condition is hit while the trigger is running, the old invocation will be killed and replaced with a new invocation.
    • CONCURRENT

      public static final SequentialTriggerConcurrencyMode CONCURRENT
      Multiple invocations can run in parallel.
  • Method Details

    • values

      public static SequentialTriggerConcurrencyMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SequentialTriggerConcurrencyMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getFriendlyName

      public String getFriendlyName()
      Specified by:
      getFriendlyName in interface HasFriendlyName