|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.sensor.ant.svn.CommitRecord
public class CommitRecord
A commit record tracks all items that get modified during an SVN revision. Note that in SVN, versioning is performed on the entire repository instead of a single file.
Constructor Summary | |
---|---|
CommitRecord(org.tmatesoft.svn.core.io.SVNRepository svnRepository,
org.tmatesoft.svn.core.SVNLogEntry svnLogEntry)
Constructs this instance. |
Method Summary | |
---|---|
java.lang.String |
getAuthor()
Gets the author who made the commit. |
java.util.Collection<CommitRecordEntry> |
getCommitRecordEntries()
Gets all changed items in this revision. |
java.util.Date |
getCommitTime()
Gets the commit time. |
java.lang.String |
getMessage()
Gets the commit log message. |
long |
getRevision()
Gets this revision number. |
java.lang.String |
toString()
Returns the string representation of this record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
CommitRecord(org.tmatesoft.svn.core.io.SVNRepository svnRepository, org.tmatesoft.svn.core.SVNLogEntry svnLogEntry) throws java.lang.Exception
svnRepository
- The svn repository.svnLogEntry
- The svn log for a revision.
java.lang.Exception
- If there is any error.Method Detail |
---|
public final long getRevision()
public java.lang.String getAuthor()
public java.util.Date getCommitTime()
public java.lang.String getMessage()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Collection<CommitRecordEntry> getCommitRecordEntries()
CommitRecordEntry
instances.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |