WebhookAction Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerregistry. models. WebhookAction
- com.
- com.
public final class WebhookAction
extends ExpandableStringEnum<WebhookAction>
Defines values for WebhookAction.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Webhook |
CHART_DELETE
Static value chart_delete for Webhook |
static final
Webhook |
CHART_PUSH
Static value chart_push for Webhook |
static final
Webhook |
DELETE
Static value delete for Webhook |
static final
Webhook |
PUSH
Static value push for Webhook |
static final
Webhook |
QUARANTINE
Static value quarantine for Webhook |
Constructor Summary
Constructor | Description |
---|---|
WebhookAction() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Webhook |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Webhook |
fromString(String name)
Creates or finds a Webhook |
static
Collection<Webhook |
values()
Gets known Webhook |
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
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:
Returns:
values
public static Collection
Gets known WebhookAction values.
Returns:
Applies to
Azure SDK for Java