TriggerType Class

public final class TriggerType
extends ExpandableStringEnum<TriggerType>

Type of a trigger.

Field Summary

Modifier and Type Field and Description
static final TriggerType SCHEDULE_TESTS_TRIGGER

Trigger is a Scheduled Trigger on a Test.

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

SCHEDULE_TESTS_TRIGGER

public static final TriggerType SCHEDULE_TESTS_TRIGGER

Trigger is a Scheduled Trigger on a Test.

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