TriggerStatus Class

public final class TriggerStatus
extends ExpandableStringEnum<TriggerStatus>

The current status of trigger.

Field Summary

Modifier and Type Field and Description
static final TriggerStatus DISABLED

Static value Disabled for TriggerStatus.

static final TriggerStatus ENABLED

Static value Enabled for TriggerStatus.

Constructor Summary

Constructor Description
TriggerStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TriggerStatus value.

Method Summary

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

Creates or finds a TriggerStatus from its string representation.

static Collection<TriggerStatus> values()

Gets known TriggerStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final TriggerStatus DISABLED

Static value Disabled for TriggerStatus.

ENABLED

public static final TriggerStatus ENABLED

Static value Enabled for TriggerStatus.

Constructor Details

TriggerStatus

@Deprecated
public TriggerStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TriggerStatus value.

Method Details

fromString

public static TriggerStatus fromString(String name)

Creates or finds a TriggerStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TriggerStatus.

values

public static Collection values()

Gets known TriggerStatus values.

Returns:

known TriggerStatus values.

Applies to