TriggerType Class

public final class TriggerType
extends ExpandableStringEnum<TriggerType>

Defines values for TriggerType.

Field Summary

Modifier and Type Field and Description
static final TriggerType CRON

Static value Cron for TriggerType.

static final TriggerType RECURRENCE

Static value Recurrence 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

CRON

public static final TriggerType CRON

Static value Cron for TriggerType.

RECURRENCE

public static final TriggerType RECURRENCE

Static value Recurrence 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<TriggerType> values()

Gets known TriggerType values.

Returns:

known TriggerType values.

Applies to