Partager via


TriggerType Class

public final class TriggerType
extends ExpandableStringEnum<TriggerType>

Type of the Trigger.

Field Summary

Modifier and Type Field and Description
static final TriggerType POST

Static value Post for TriggerType.

static final TriggerType PRE

Static value Pre for TriggerType.

Constructor Summary

Constructor Description
TriggerType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TriggerType value.

Method Summary

Modifier and Type Method and Description
static TriggerType fromString(String name)

Creates or finds a TriggerType from its string representation.

static Collection<TriggerType> values()

Gets known TriggerType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

POST

public static final TriggerType POST

Static value Post for TriggerType.

PRE

public static final TriggerType PRE

Static value Pre for TriggerType.

Constructor Details

TriggerType

@Deprecated
public TriggerType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TriggerType value.

Method Details

fromString

public static TriggerType fromString(String name)

Creates or finds a TriggerType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TriggerType.

values

public static Collection values()

Gets known TriggerType values.

Returns:

known TriggerType values.

Applies to