TriggerType Class

public final class TriggerType
extends ExpandableStringEnum<TriggerType>

Trigger type of the job.

Field Summary

Modifier and Type Field and Description
static final TriggerType EVENT

Static value Event for TriggerType.

static final TriggerType MANUAL

Static value Manual for TriggerType.

static final TriggerType SCHEDULE

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

EVENT

public static final TriggerType EVENT

Static value Event for TriggerType.

MANUAL

public static final TriggerType MANUAL

Static value Manual for TriggerType.

SCHEDULE

public static final TriggerType SCHEDULE

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