public interface ISvnSession
extends org.magicwerk.brownies.core.files.filemodel.ISession
| Modifier and Type | Method and Description |
|---|---|
ISvnDirectory |
getDirectory(java.lang.String path)
Return ISvnDir reference to requested directory in revision head.
|
ISvnDirectory |
getDirectory(java.lang.String path,
long revision)
Return ISvnDir reference to requested directory.
|
ISvnEntry |
getEntry(java.lang.String path)
Return ISvnEntry reference to requested file in revision head.
|
ISvnEntry |
getEntry(java.lang.String path,
long revision)
Return ISvnEntry reference to requested entry.
|
ISvnFile |
getFile(java.lang.String path)
Return ISvnFile reference to requested file in revision head.
|
ISvnFile |
getFile(java.lang.String path,
long revision)
Return ISvnFile reference to requested file.
|
long |
getHeadRevision()
Gets the head revision number of the repository
|
java.lang.String |
getRepositoryRoot() |
ISvnDirectory |
getRoot() |
ISvnDirectory |
getRoot(long revision) |
org.magicwerk.brownies.core.files.filemodel.IEntry.Type |
getType(java.lang.String path,
long revision)
Returns type of entry with given path and revision.
|
java.lang.String getRepositoryRoot()
ISvnDirectory getRoot()
getRoot in interface org.magicwerk.brownies.core.files.filemodel.ISessionISvnDirectory getRoot(long revision)
ISvnEntry getEntry(java.lang.String path)
getEntry in interface org.magicwerk.brownies.core.files.filemodel.ISessionpath - path to entryjava.lang.RuntimeException - if no such entry is foundgetEntry(String, long)ISvnFile getFile(java.lang.String path)
getFile in interface org.magicwerk.brownies.core.files.filemodel.ISessionpath - path to filejava.lang.RuntimeException - if no such file is foundgetFile(String, long)ISvnDirectory getDirectory(java.lang.String path)
getDirectory in interface org.magicwerk.brownies.core.files.filemodel.ISessionpath - path to directoryjava.lang.RuntimeException - if no such directory is foundgetFile(String, long)long getHeadRevision()
ISvnEntry getEntry(java.lang.String path, long revision)
path - path to entryrevision - revision number (use -1 for head revision)java.lang.RuntimeException - if no such entry is foundISvnFile getFile(java.lang.String path, long revision)
path - Path to filerevision - revision number (use -1 for head revision)java.lang.RuntimeException - if no such file is foundISvnDirectory getDirectory(java.lang.String path, long revision)
path - path to directoryrevision - revision number (use -1 for head revision)java.lang.RuntimeException - if no such directory is foundorg.magicwerk.brownies.core.files.filemodel.IEntry.Type getType(java.lang.String path,
long revision)
path - path to entryrevision - revision number (use -1 for head revision)