|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.SVNLogEntry
public class SVNLogEntry
The SVNLogEntry class encapsulates such per revision information as: a revision number, the datestamp when the revision was committed, the author of the revision, a commit log message and all paths changed in that revision.
SVNLogEntryPath
,
ISVNLogEntryHandler
,
Examples,
Serialized FormField Summary | |
---|---|
static SVNLogEntry |
EMPTY_ENTRY
This is a log entry children stop marker use by the SVNKit internals. |
Constructor Summary | |
---|---|
SVNLogEntry(java.util.Map changedPaths,
long revision,
java.lang.String author,
java.util.Date date,
java.lang.String message)
Constructs an SVNLogEntry object. |
|
SVNLogEntry(java.util.Map changedPaths,
long revision,
SVNProperties revisionProperties,
boolean hasChildren)
Constructs an SVNLogEntry object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this object with another one. |
java.lang.String |
getAuthor()
Returns the author of the revision that this object represents. |
java.util.Map<java.lang.String,SVNLogEntryPath> |
getChangedPaths()
Gets a map containing all the paths that were changed in the revision that this object represents. |
java.util.Date |
getDate()
Gets the datestamp when the revision was committed. |
java.lang.String |
getMessage()
Gets the log message attached to the revision. |
long |
getRevision()
Gets the number of the revision that this object represents. |
SVNProperties |
getRevisionProperties()
Returns the requested revision properties, which may be null if it would contain no revision properties. |
boolean |
hasChildren()
Tells whether or not this log entry has children. |
int |
hashCode()
Calculates and returns a hash code for this object. |
boolean |
isNonInheritable()
|
boolean |
isSubtractiveMerge()
|
void |
setHasChildren(boolean hasChildren)
Sets wheteher this log entry has children entries or not. |
void |
setNonInheriable(boolean nonInheritable)
|
void |
setSubtractiveMerge(boolean substractiveMerge)
|
java.lang.String |
toString()
Gives a string representation of this oobject. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static SVNLogEntry EMPTY_ENTRY
SVNKit
internals. Users should not
compare the log entry received in their ISVNLogEntryHandler
implementations with this one.
Instead, to find the end of the log entry children sequence they should check the log entry's revision
for validity (i.e. that it is not less than 0
).
Constructor Detail |
---|
public SVNLogEntry(java.util.Map changedPaths, long revision, java.lang.String author, java.util.Date date, java.lang.String message)
changedPaths
- a map collection which keys are
all the paths that were changed in
revision
, and values are
SVNLogEntryPath representation objectsrevision
- a revision numberauthor
- the author of revision
date
- the datestamp when the revision was committedmessage
- an commit log message for revision
SVNLogEntryPath
public SVNLogEntry(java.util.Map changedPaths, long revision, SVNProperties revisionProperties, boolean hasChildren)
changedPaths
- a map collection which keys are
all the paths that were changed in
revision
, and values are
SVNLogEntryPath representation objectsrevision
- a revision numberrevisionProperties
- revision propertieshasChildren
- whether this entry has children or notMethod Detail |
---|
public void setHasChildren(boolean hasChildren)
hasChildren
- whether this entry has has children or nothasChildren()
public java.util.Map<java.lang.String,SVNLogEntryPath> getChangedPaths()
String
to SVNLogEntryPath
map which keys are all the paths that
were changed in the revision and values represent information about each changed pathpublic java.lang.String getAuthor()
public java.util.Date getDate()
public java.lang.String getMessage()
public SVNProperties getRevisionProperties()
public long getRevision()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- an object to compare with
obj
argumentpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean hasChildren()
SVNRepository.INVALID_REVISION
which
indicates the end of the children.
For log operations which do not request additional merge information, the HAS_CHILDREN flag is always
false.
Also for more information see:
Subversion documentation
public void setSubtractiveMerge(boolean substractiveMerge)
public boolean isSubtractiveMerge()
public void setNonInheriable(boolean nonInheritable)
public boolean isNonInheritable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |