WebhookType Class

public final class WebhookType
extends ExpandableStringEnum<WebhookType>

Enum to determine the webhook callback service type.

Field Summary

Modifier and Type Field and Description
static final WebhookType AZURE_DEV_OPS

Static value AzureDevOps for WebhookType.

Constructor Summary

Constructor Description
WebhookType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebhookType value.

Method Summary

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

Creates or finds a WebhookType from its string representation.

static Collection<WebhookType> values()

Gets known WebhookType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE_DEV_OPS

public static final WebhookType AZURE_DEV_OPS

Static value AzureDevOps for WebhookType.

Constructor Details

WebhookType

@Deprecated
public WebhookType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebhookType value.

Method Details

fromString

public static WebhookType fromString(String name)

Creates or finds a WebhookType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding WebhookType.

values

public static Collection<WebhookType> values()

Gets known WebhookType values.

Returns:

known WebhookType values.

Applies to