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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe default: Once the trigger has started, it cannot be started again until it has finished.Multiple invocations can run in parallel.When the start condition is hit while the trigger is running, the old invocation will be killed and replaced with a new invocation. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SequentialTriggerConcurrencyMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
When the start condition is hit while the trigger is running, the old invocation will be killed and replaced with a new invocation. -
CONCURRENT
Multiple invocations can run in parallel.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getFriendlyName
- Specified by:
getFriendlyName
in interfaceHasFriendlyName
-