public class PatchEntry
extends java.lang.Object
PatchModel.| Constructor and Description | 
|---|
PatchEntry()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addHunk(PatchHunk hunk)
Adds a  
PatchHunk instance to the patch entry. | 
java.lang.String | 
getFromFile()
Gets the from-file value for the patch entry. 
 | 
java.util.Date | 
getFromFileModificationTime()
Gets the from-file modification time for the patch entry. 
 | 
java.lang.String | 
getFromFileRevision()
Gets the from-file revision number for the patch entry. 
 | 
PatchHunk[] | 
getHunks()
Gets all  
PatchHunk instances in the patch entry. | 
java.lang.String | 
getToFile()
Gets the to-file value for the patch entry. 
 | 
java.util.Date | 
getToFileModificationTime()
Gets the to-file modification time for the patch entry. 
 | 
java.lang.String | 
getToFileRevision()
Gets the to-file revision number for the patch entry. 
 | 
boolean | 
isNewFile()  | 
void | 
setFromFile(java.lang.String fromFile)
Sets the from-file value for the patch entry. 
 | 
void | 
setFromFileModificationTime(java.util.Date fromFileModTime)
Sets the from-file modification time for the patch entry. 
 | 
void | 
setFromFileRevision(java.lang.String fromFileRevision)
Sets the from-file revision number for the patch entry. 
 | 
void | 
setNewFile(boolean newFile)  | 
void | 
setToFile(java.lang.String toFile)
Sets the to-file value for the patch entry. 
 | 
void | 
setToFileModificationTime(java.util.Date toFileModTime)
Sets the to-file modification time for the patch entry. 
 | 
void | 
setToFileRevision(java.lang.String toFileRevision)
Sets the to-file revision number for the patch entry. 
 | 
public void setFromFile(java.lang.String fromFile)
fromFile - the from-file value.public java.lang.String getFromFile()
public void setFromFileModificationTime(java.util.Date fromFileModTime)
fromFileModTime - the from-file modification time.public java.util.Date getFromFileModificationTime()
public void setToFile(java.lang.String toFile)
toFile - the to-file value.public java.lang.String getToFile()
public void setToFileModificationTime(java.util.Date toFileModTime)
toFileModTime - the to-file modification time.public java.util.Date getToFileModificationTime()
public void setFromFileRevision(java.lang.String fromFileRevision)
fromFileRevision - the from-file revision number.public java.lang.String getFromFileRevision()
public void setToFileRevision(java.lang.String toFileRevision)
toFileRevision - the to-file revision number.public java.lang.String getToFileRevision()
public void addHunk(PatchHunk hunk)
PatchHunk instance to the patch entry.hunk - the patch hunk.public PatchHunk[] getHunks()
PatchHunk instances in the patch entry.public void setNewFile(boolean newFile)
public boolean isNewFile()