| java.lang.Object org.tmatesoft.svn.core.SVNCommitInfo
SVNCommitInfo | public class SVNCommitInfo (Code) | | The SVNCommitInfo class represents information about a committed
revision. Commit information includes:
- a revision number;
- a datestamp when the revision was committed;
- the name of the revision author.
In addition, this class provides anexception that, if a commit has failed,
has got a description of a failure reason.
version: 1.1.1 author: TMate Software Ltd. |
SVNCommitInfo | public SVNCommitInfo(long revision, String author, Date date)(Code) | | Constructs an SVNCommitInfo object.
Parameters: revision - a revision number Parameters: author - the name of the author who committed the revision Parameters: date - the datestamp when the revision was committed |
SVNCommitInfo | public SVNCommitInfo(long revision, String author, Date date, SVNErrorMessage error)(Code) | | Constructs an SVNCommitInfo object.
Parameters: revision - a revision number Parameters: author - the name of the author who committed the revision Parameters: date - the datestamp when the revision was committed Parameters: error - if a commit failed - this is an error description containing details on the failure |
getAuthor | public String getAuthor()(Code) | | Gets the name of the revision author
a revision author's name |
getDate | public Date getDate()(Code) | | Gets the datestamp when the revision was committed.
a revision datestamp |
getErrorMessage | public SVNErrorMessage getErrorMessage()(Code) | | Gets an error message for a failed commit (if it
has failed). This message will usually keep the entire
stack trace of all the error messages as of results of errors
occurred.
an error messages or null. |
getNewRevision | public long getNewRevision()(Code) | | Gets the revision number the repository was committed to.
a revision number |
toString | public String toString()(Code) | | Gives a string representation of this object.
a string describing commit info |
|
|