public class SVNCommitInfo extends Object
Modifier and Type | Field and Description |
---|---|
static SVNCommitInfo |
NULL
Denotes an unsuccessful commit.
|
Constructor and Description |
---|
SVNCommitInfo(long revision,
String author,
Date date)
Constructs an SVNCommitInfo object.
|
SVNCommitInfo(long revision,
String author,
Date date,
SVNErrorMessage error)
Constructs an SVNCommitInfo object.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthor()
Gets the name of the revision author
|
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.
|
String |
toString()
Gives a string representation of this object.
|
public static final SVNCommitInfo NULL
public SVNCommitInfo(long revision, String author, 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, String author, 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 String getAuthor()
public Date getDate()
public SVNErrorMessage getErrorMessage()
public SVNException getError()
getErrorMessage()
insteadCopyright © 2018. All rights reserved.