|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.SVNCommitInfo
public class SVNCommitInfo
The SVNCommitInfo class represents information about a committed revision. Commit information includes:
Field Summary | |
---|---|
static SVNCommitInfo |
NULL
Denotes an unsuccessful commit. |
Constructor Summary | |
---|---|
SVNCommitInfo(long revision,
java.lang.String author,
java.util.Date date)
Constructs an SVNCommitInfo object. |
|
SVNCommitInfo(long revision,
java.lang.String author,
java.util.Date date,
SVNErrorMessage error)
Constructs an SVNCommitInfo object. |
Method Summary | |
---|---|
java.lang.String |
getAuthor()
Gets the name of the revision author |
java.util.Date |
getDate()
Gets the datestamp when the revision was committed. |
SVNException |
getError()
Deprecated. use getErrorMessage() instead |
SVNErrorMessage |
getErrorMessage()
Gets an error message for a failed commit (if it has failed). |
long |
getNewRevision()
Gets the revision number the repository was committed to. |
java.lang.String |
toString()
Gives a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SVNCommitInfo NULL
Constructor Detail |
---|
public SVNCommitInfo(long revision, java.lang.String author, java.util.Date date)
revision
- a revision numberauthor
- the name of the author who committed the revisiondate
- the datestamp when the revision was committedpublic SVNCommitInfo(long revision, java.lang.String author, java.util.Date date, SVNErrorMessage error)
revision
- a revision numberauthor
- the name of the author who committed the revisiondate
- the datestamp when the revision was committederror
- if a commit failed - this is an error description
containing details on the failureMethod Detail |
---|
public long getNewRevision()
public java.lang.String getAuthor()
public java.util.Date getDate()
public SVNErrorMessage getErrorMessage()
public SVNException getError()
getErrorMessage()
instead
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |