SourceTriggerEvent Class

public final class SourceTriggerEvent
extends ExpandableStringEnum<SourceTriggerEvent>

Defines values for SourceTriggerEvent.

Field Summary

Modifier and Type Field and Description
static final SourceTriggerEvent COMMIT

Static value commit for SourceTriggerEvent.

static final SourceTriggerEvent PULLREQUEST

Static value pullrequest for SourceTriggerEvent.

Constructor Summary

Constructor Description
SourceTriggerEvent()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SourceTriggerEvent value.

Method Summary

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

Creates or finds a SourceTriggerEvent from its string representation.

static Collection<SourceTriggerEvent> values()

Gets known SourceTriggerEvent values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COMMIT

public static final SourceTriggerEvent COMMIT

Static value commit for SourceTriggerEvent.

PULLREQUEST

public static final SourceTriggerEvent PULLREQUEST

Static value pullrequest for SourceTriggerEvent.

Constructor Details

SourceTriggerEvent

@Deprecated
public SourceTriggerEvent()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SourceTriggerEvent value.

Method Details

fromString

public static SourceTriggerEvent fromString(String name)

Creates or finds a SourceTriggerEvent from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SourceTriggerEvent.

values

public static Collection values()

Gets known SourceTriggerEvent values.

Returns:

known SourceTriggerEvent values.

Applies to