다음을 통해 공유


WebhookAction Class

public final class WebhookAction
extends ExpandableStringEnum<WebhookAction>

Defines values for WebhookAction.

Field Summary

Modifier and Type Field and Description
static final WebhookAction CHART_DELETE

Static value chart_delete for WebhookAction.

static final WebhookAction CHART_PUSH

Static value chart_push for WebhookAction.

static final WebhookAction DELETE

Static value delete for WebhookAction.

static final WebhookAction PUSH

Static value push for WebhookAction.

static final WebhookAction QUARANTINE

Static value quarantine for WebhookAction.

Constructor Summary

Constructor Description
WebhookAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebhookAction value.

Method Summary

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

Creates or finds a WebhookAction from its string representation.

static Collection<WebhookAction> values()

Gets known WebhookAction values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CHART_DELETE

public static final WebhookAction CHART_DELETE

Static value chart_delete for WebhookAction.

CHART_PUSH

public static final WebhookAction CHART_PUSH

Static value chart_push for WebhookAction.

DELETE

public static final WebhookAction DELETE

Static value delete for WebhookAction.

PUSH

public static final WebhookAction PUSH

Static value push for WebhookAction.

QUARANTINE

public static final WebhookAction QUARANTINE

Static value quarantine for WebhookAction.

Constructor Details

WebhookAction

@Deprecated
public WebhookAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebhookAction value.

Method Details

fromString

public static WebhookAction fromString(String name)

Creates or finds a WebhookAction from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding WebhookAction.

values

public static Collection values()

Gets known WebhookAction values.

Returns:

known WebhookAction values.

Applies to