|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.GerritTriggeredEvent
com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.RefUpdated
public class RefUpdated
A DTO representation of the ref-updated Gerrit Event.
| Field Summary | |
|---|---|
protected RefUpdate |
refUpdate
The Gerrit ref update the event is related to. |
| Fields inherited from class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.GerritTriggeredEvent |
|---|
account |
| Constructor Summary | |
|---|---|
RefUpdated()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.GerritTriggeredEvent |
|---|
getAccount, setAccount |
| Methods inherited from class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle |
|---|
addListener, fireAllBuildsCompleted, fireBuildCompleted, fireBuildStarted, fireProjectTriggered, fireTriggerScanDone, fireTriggerScanStarting, getListeners, removeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected RefUpdate refUpdate
| Constructor Detail |
|---|
public RefUpdated()
| Method Detail |
|---|
public RefUpdate getRefUpdate()
public void setRefUpdate(RefUpdate refUpdate)
refUpdate - the refupdate.public GerritEventType getEventType()
GerritEvent
getEventType in interface GerritEventpublic boolean isScorable()
GerritEvent
isScorable in interface GerritEventpublic void fromJson(net.sf.json.JSONObject json)
GerritJsonDTO
fromJson in interface GerritJsonDTOjson - the JSON Object.public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||