java.lang.Object
org.jenkinsci.plugins.registry.notification.webhook.WebHookPayload
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ACRWebHookPayload, DockerHubWebHookPayload, DockerRegistryWebHookPayload

public abstract class WebHookPayload extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • WebHookPayload

      public WebHookPayload()
  • Method Details

    • getReceived

      public long getReceived()
      System.currentTimeMillis() when this object's constructor was called.
      Returns:
      the object's creation time/when the payload was received.
    • getPushNotifications

      public List<PushNotification> getPushNotifications()
    • getData

      @CheckForNull public net.sf.json.JSONObject getData()
    • setData

      protected void setData(net.sf.json.JSONObject data)
    • setJson

      protected void setJson(String json)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • readResolve

      protected Object readResolve()