Class WebHookTrigger

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<WebHookTriggerBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class WebHookTrigger
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<WebHookTriggerBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    WebHookTrigger is a trigger that gets invoked using a webhook type of post
    See Also:
    Serialized Form
    • Constructor Detail

      • WebHookTrigger

        public WebHookTrigger()
        No args constructor for use in serialization
    • Method Detail

      • getAllowEnv

        public Boolean getAllowEnv()
        allowEnv determines whether the webhook can set environment variables; can only be set to true for GenericWebHook.
      • setAllowEnv

        public void setAllowEnv​(Boolean allowEnv)
        allowEnv determines whether the webhook can set environment variables; can only be set to true for GenericWebHook.
      • getSecret

        public String getSecret()
        secret used to validate requests. Deprecated: use SecretReference instead.
      • setSecret

        public void setSecret​(String secret)
        secret used to validate requests. Deprecated: use SecretReference instead.
      • getSecretReference

        public SecretLocalReference getSecretReference()
        WebHookTrigger is a trigger that gets invoked using a webhook type of post
      • setSecretReference

        public void setSecretReference​(SecretLocalReference secretReference)
        WebHookTrigger is a trigger that gets invoked using a webhook type of post
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)