public class SVNCommitInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static SVNCommitInfo |
NULL
Denotes an unsuccessful commit.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final SVNCommitInfo NULL
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 failurepublic long getNewRevision()
public java.lang.String getAuthor()
public java.util.Date getDate()
public SVNErrorMessage getErrorMessage()
public SVNException getError()
getErrorMessage()
insteadpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.