|
||||||||||
| 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.attr.RefUpdate
public class RefUpdate
Represents a Gerrit JSON Reference Updated DTO.
| Constructor Summary | |
|---|---|
RefUpdate()
Default constructor. |
|
RefUpdate(net.sf.json.JSONObject json)
Constructor that fills with data directly. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
void |
fromJson(net.sf.json.JSONObject json)
Takes a JSON object and fills its internal data-structure. |
String |
getNewRev()
New revision. |
String |
getOldRev()
Old revision. |
String |
getProject()
Name of project. |
String |
getRefName()
Ref name within project. |
int |
hashCode()
|
void |
setNewRev(String newRev)
Change new Revision. |
void |
setOldRev(String oldRev)
Change old revision. |
void |
setProject(String project)
Change name of project. |
void |
setRefName(String refName)
Ref name within project. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RefUpdate()
public RefUpdate(net.sf.json.JSONObject json)
json - the JSON Object with corresponding data.fromJson(net.sf.json.JSONObject)| Method Detail |
|---|
public void fromJson(net.sf.json.JSONObject json)
GerritJsonDTO
fromJson in interface GerritJsonDTOjson - the JSON Object.public String getProject()
public void setProject(String project)
project - the project.public String getRefName()
public void setRefName(String refName)
refName - the ref.public String getOldRev()
public void setOldRev(String oldRev)
oldRev - the rev.public String getNewRev()
public void setNewRev(String newRev)
newRev - the rev.public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||