public class ManualPatchsetCreated extends PatchsetCreated
change, patchSetaccount| Constructor and Description |
|---|
ManualPatchsetCreated()
Default Constructor.
|
ManualPatchsetCreated(net.sf.json.JSONObject change,
net.sf.json.JSONObject patch,
String userName)
Standard Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(net.sf.json.JSONObject change,
net.sf.json.JSONObject patch)
Sets the relevant values from the JSONObjects.
|
String |
getUserName()
The name of the user who "created" the event.
|
void |
setUserName(String userName)
The name of the user who "created" the event.
|
String |
toString() |
fromJson, getEventType, isScorableequals, getChange, getFiles, getPatchSet, hashCode, setChange, setPatchsetgetAccount, setAccountaddListener, fireAllBuildsCompleted, fireBuildCompleted, fireBuildStarted, fireProjectTriggered, fireTriggerScanDone, fireTriggerScanStarting, getListeners, removeListenerpublic ManualPatchsetCreated()
public ManualPatchsetCreated(net.sf.json.JSONObject change,
net.sf.json.JSONObject patch,
String userName)
change - JSONObject containing the change information.patch - JSONObject containing the patchSet information.userName - the user that manually fired the Gerrit event.public void fromJson(net.sf.json.JSONObject change,
net.sf.json.JSONObject patch)
change - the change info.patch - the patchSet info.public String getUserName()
public void setUserName(String userName)
userName - the userName.public String toString()
toString in class PatchsetCreatedCopyright © 2004-2015 Hudson. All Rights Reserved.