public class RefUpdated extends GerritTriggeredEvent implements GerritJsonEvent
| Modifier and Type | Field and Description |
|---|---|
protected RefUpdate |
refUpdate
The Gerrit ref update the event is related to.
|
account| Constructor and Description |
|---|
RefUpdated() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
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.
|
RefUpdate |
getRefUpdate()
The ref update.
|
int |
hashCode() |
boolean |
isScorable()
Returns if a score (code review or verify) can be submitted to Gerrit.
|
void |
setRefUpdate(RefUpdate refUpdate)
The ref update.
|
getAccount, setAccountaddListener, fireAllBuildsCompleted, fireBuildCompleted, fireBuildStarted, fireProjectTriggered, fireTriggerScanDone, fireTriggerScanStarting, getListeners, removeListenerprotected RefUpdate refUpdate
public RefUpdate getRefUpdate()
public void setRefUpdate(RefUpdate refUpdate)
refUpdate - the refupdate.public GerritEventType getEventType()
GerritEventgetEventType in interface GerritEventpublic boolean isScorable()
GerritEventisScorable in interface GerritEventpublic void fromJson(net.sf.json.JSONObject json)
GerritJsonDTOfromJson in interface GerritJsonDTOjson - the JSON Object.Copyright © 2004-2015 Hudson. All Rights Reserved.