java.lang.Object
com.azure.core.util.ExpandableStringEnum<WebhookAction>
com.azure.resourcemanager.containerregistry.models.WebhookAction
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class WebhookAction extends com.azure.core.util.ExpandableStringEnum<WebhookAction>
Defines values for WebhookAction.
  • Field Details

    • PUSH

      public static final WebhookAction PUSH
      Static value push for WebhookAction.
    • DELETE

      public static final WebhookAction DELETE
      Static value delete for WebhookAction.
    • QUARANTINE

      public static final WebhookAction QUARANTINE
      Static value quarantine for WebhookAction.
    • CHART_PUSH

      public static final WebhookAction CHART_PUSH
      Static value chart_push for WebhookAction.
    • CHART_DELETE

      public static final WebhookAction CHART_DELETE
      Static value chart_delete for WebhookAction.
  • Constructor Details

    • WebhookAction

      @Deprecated public WebhookAction()
      Deprecated.
      Use the fromString(String) 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<WebhookAction> values()
      Gets known WebhookAction values.
      Returns:
      known WebhookAction values.