Class WebHookPayload
java.lang.Object
org.jenkinsci.plugins.registry.notification.webhook.WebHookPayload
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ACRWebHookPayload
,DockerHubWebHookPayload
,DockerRegistryWebHookPayload
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected List<PushNotification>
protected final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
net.sf.json.JSONObject
getData()
long
System.currentTimeMillis()
when this object's constructor was called.int
hashCode()
protected Object
protected void
setData
(net.sf.json.JSONObject data) protected void
-
Field Details
-
PREFIX
- See Also:
-
received
protected final long received -
pushNotifications
-
-
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
-
getData
@CheckForNull public net.sf.json.JSONObject getData() -
setData
protected void setData(net.sf.json.JSONObject data) -
setJson
-
equals
-
hashCode
public int hashCode() -
readResolve
-