public class ChangeMerged extends ChangeBasedEvent implements GerritJsonEvent
change, patchSetaccount| Constructor and Description |
|---|
ChangeMerged()
Default constructor.
|
ChangeMerged(net.sf.json.JSONObject json)
Constructor that fills data directly.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(net.sf.json.JSONObject json)
Takes a JSON object and fills its internal data-structure.
|
GerritEventType |
getEventType()
Returns what type of event it is.
|
boolean |
isScorable()
Returns if a score (code review or verify) can be submitted to Gerrit.
|
equals, getChange, getFiles, getPatchSet, hashCode, setChange, setPatchsetgetAccount, setAccountaddListener, fireAllBuildsCompleted, fireBuildCompleted, fireBuildStarted, fireProjectTriggered, fireTriggerScanDone, fireTriggerScanStarting, getListeners, removeListenerpublic ChangeMerged()
public ChangeMerged(net.sf.json.JSONObject json)
json - the JSON ObjectfromJson(net.sf.json.JSONObject)public GerritEventType getEventType()
GerritEventgetEventType in interface GerritEventpublic boolean isScorable()
GerritEventisScorable in interface GerritEventpublic void fromJson(net.sf.json.JSONObject json)
ChangeBasedEventfromJson in interface GerritJsonDTOfromJson in class ChangeBasedEventjson - the JSON Object.Copyright © 2004-2015 Hudson. All Rights Reserved.