public abstract class SvnEntry extends java.lang.Object implements ISvnEntry
| Modifier | Constructor and Description |
|---|---|
protected |
SvnEntry(SvnSession session,
java.lang.String path,
long revision,
org.tmatesoft.svn.core.SVNDirEntry info)
Protected constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCommitAuthor()
Retrieves the name of the author who last changed this entry.
|
long |
getCommitRevision()
Gets the last changed revision of this entry.
|
java.time.ZonedDateTime |
getLastModifiedDate() |
java.lang.String |
getName() |
org.magicwerk.brownies.core.files.filemodel.IDirectory |
getParent() |
java.lang.String |
getPath()
The path of a SVN entry always contains the repository root path as prefix.
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Returns properties of this entry.
|
byte[] |
getProperty(java.lang.String name)
Return property as byte array.
|
java.lang.String |
getPropertyAsString(java.lang.String name)
Return property as string by interpreting the byte array as UTF-8 string.
|
long |
getRevision()
Gets the revision this entry was fetched.
|
SvnSession |
getSession() |
java.util.Map<java.lang.String,java.lang.Object> |
getSystemProperties()
Returns properties of this entry.
|
byte[] |
getSystemProperty(java.lang.String name)
Return system property as byte array.
|
java.lang.String |
getSystemPropertyAsString(java.lang.String name)
Return system property as string by interpreting the byte array as UTF-8 string.
|
int |
hashCode() |
java.lang.String |
toString() |
protected SvnEntry(SvnSession session, java.lang.String path, long revision, org.tmatesoft.svn.core.SVNDirEntry info)
public SvnSession getSession()
getSession in interface org.magicwerk.brownies.core.files.filemodel.IEntrypublic java.lang.String getPath()
getPath in interface org.magicwerk.brownies.core.files.filemodel.IEntrypublic long getRevision()
ISvnEntrygetRevision in interface ISvnEntrypublic long getCommitRevision()
ISvnEntrygetCommitRevision in interface ISvnEntrypublic java.lang.String getCommitAuthor()
ISvnEntrygetCommitAuthor in interface ISvnEntrypublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
ISvnEntrygetProperties in interface ISvnEntrypublic java.util.Map<java.lang.String,java.lang.Object> getSystemProperties()
ISvnEntrygetSystemProperties in interface ISvnEntrypublic byte[] getProperty(java.lang.String name)
ISvnEntrygetProperty in interface ISvnEntryname - property namepublic java.lang.String getPropertyAsString(java.lang.String name)
ISvnEntrygetPropertyAsString in interface ISvnEntryname - property namepublic byte[] getSystemProperty(java.lang.String name)
ISvnEntrygetSystemProperty in interface ISvnEntryname - property namepublic java.lang.String getSystemPropertyAsString(java.lang.String name)
ISvnEntrygetSystemPropertyAsString in interface ISvnEntryname - property namepublic java.time.ZonedDateTime getLastModifiedDate()
getLastModifiedDate in interface org.magicwerk.brownies.core.files.filemodel.IEntrypublic java.lang.String getName()
getName in interface org.magicwerk.brownies.core.files.filemodel.IEntrypublic org.magicwerk.brownies.core.files.filemodel.IDirectory getParent()
getParent in interface org.magicwerk.brownies.core.files.filemodel.IEntrypublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object