Class DockerHubWebHookPayload
java.lang.Object
org.jenkinsci.plugins.registry.notification.webhook.WebHookPayload
org.jenkinsci.plugins.registry.notification.webhook.dockerhub.DockerHubWebHookPayload
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Field Summary
Fields inherited from class org.jenkinsci.plugins.registry.notification.webhook.WebHookPayload
PREFIX, pushNotifications, received
-
Constructor Summary
ConstructorDescriptionDockerHubWebHookPayload
(String repoName) DockerHubWebHookPayload
(String repoName, net.sf.json.JSONObject data) DockerHubWebHookPayload
(net.sf.json.JSONObject data) Creates the object from the json payload -
Method Summary
Methods inherited from class org.jenkinsci.plugins.registry.notification.webhook.WebHookPayload
equals, getData, getPushNotifications, getReceived, hashCode, setData, setJson
-
Constructor Details
-
DockerHubWebHookPayload
-
DockerHubWebHookPayload
public DockerHubWebHookPayload(@NonNull net.sf.json.JSONObject data) Creates the object from the json payload- Parameters:
data
- the json payload- Throws:
net.sf.json.JSONException
- if the keyrepository.repo_name
doesn't exist.
-
DockerHubWebHookPayload
-
-
Method Details
-
readResolve
- Overrides:
readResolve
in classWebHookPayload
-