You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHDeployment.java
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -61,27 +61,29 @@ public String getTask() {
61
61
}
62
62
63
63
/**
64
-
* Gets payload. <b>NOTE:</b> only use this method if you can guarantee the payload will be a simple string, otherwise use {@link #getPayloadObject()}.
64
+
* Gets payload. <b>NOTE:</b> only use this method if you can guarantee the payload will be a simple string,
65
+
* otherwise use {@link #getPayloadObject()}.
65
66
*
66
67
* @return the payload
67
68
*/
68
69
publicStringgetPayload() {
69
70
return (String) payload;
70
71
}
71
-
72
+
72
73
/**
73
-
* Gets payload. <b>NOTE:</b> only use this method if you can guarantee the payload will be a JSON object (Map), otherwise use {@link #getPayloadObject()}.
74
+
* Gets payload. <b>NOTE:</b> only use this method if you can guarantee the payload will be a JSON object (Map),
75
+
* otherwise use {@link #getPayloadObject()}.
74
76
*
75
77
* @return the payload
76
78
*/
77
79
publicMap<String, Object> getPayloadMap() {
78
80
return (Map<String, Object>) payload;
79
81
}
80
-
82
+
81
83
/**
82
84
* Gets payload without assuming its type. It could be a String or a Map.
0 commit comments