public interface Commit
| Modifier and Type | Method and Description |
|---|---|
SortedSet<String> |
getAffectedPaths()
Returns the paths affected by the commit.
|
Long |
getBaseRevisionId()
Returns the base revision id the commit is based on.
|
String |
getBranchId()
Returns the private branch id the commit is under or
null if the
commit is in the public branch. |
String |
getDiff()
Returns the JSOP
diff of this commit.
|
List<Instruction> |
getInstructions()
Returns the
List of Instructions which were created from
the diff. |
String |
getMessage()
Returns the message of the commit.
|
String |
getPath()
Returns the path of the root node of this commit.
|
Long |
getRevisionId()
Returns the revision id of this commit if known already, else this will
return
null. |
Long |
getTimestamp()
Returns the timestamp of this commit.
|
boolean |
isFailed()
Determines whether the commit failed or not.
|
void |
setRevisionId(Long revisionId)
Sets the revision id of this commit.
|
SortedSet<String> getAffectedPaths()
Long getBaseRevisionId()
String getBranchId()
null if the
commit is in the public branch.nullString getDiff()
String representing the diff.boolean isFailed()
List<Instruction> getInstructions()
List of Instructions which were created from
the diff.List of Instructions.getDiff()String getMessage()
String getPath()
Long getRevisionId()
null. The revision id will be determined only after the
commit has been successfully performed.null.void setRevisionId(Long revisionId)
revisionId - The revision id to set.Long getTimestamp()
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.