|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.changeTracking.FileModification
public class FileModification
Describes a modification made on a particular file. Used as a transfer object over XML-RPC. Description includes a user id and the file diff in the unified patch format
| Constructor Summary | |
|---|---|
FileModification(java.lang.String userId,
java.lang.String originalRevision,
java.lang.String patch)
Constructs an object with the given properties |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getOriginalRevision()
the file revision being edited |
java.lang.String |
getPatch()
The modification in the unified patch format |
java.lang.String |
getUserId()
The string representation of user id |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileModification(java.lang.String userId,
java.lang.String originalRevision,
java.lang.String patch)
userId - string representation of user id (long converted to string). Not null.originalRevision - the file revision being edited. Not nullpatch - the unified patch. Not null.| Method Detail |
|---|
public java.lang.String getUserId()
public java.lang.String getOriginalRevision()
public java.lang.String getPatch()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||