Class SVNStatusReporter17
java.lang.Object
org.tmatesoft.svn.core.internal.wc17.SVNStatusReporter17
- All Implemented Interfaces:
ISVNReporter,ISVNReporterBaton
public class SVNStatusReporter17
extends java.lang.Object
implements ISVNReporterBaton, ISVNReporter
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SVNStatusEditor17private java.util.HashMap<java.lang.String,SVNLock> private SVNReporter17private ISVNReporterprivate SVNRepositoryprivate SVNURLprivate SVNURL -
Constructor Summary
ConstructorsConstructorDescriptionSVNStatusReporter17(SVNRepository repository, SVNReporter17 reportBaton, SVNStatusEditor17 editor) -
Method Summary
Modifier and TypeMethodDescriptionvoidAborts the current running report due to errors occured.voiddeletePath(java.lang.String path) Describes a working copypathas deleted or missing.voidFinalizes the report.voidlinkPath(SVNURL url, java.lang.String path, java.lang.String lockToken, long revision, boolean startEmpty) Describes a local path as being at a particular revision to switch the path to a different repository location.voidlinkPath(SVNURL url, java.lang.String path, java.lang.String lockToken, long revision, SVNDepth depth, boolean startEmpty) Describes a local path as being at a particular revision to switch the path to a different repository location.voidreport(ISVNReporter reporter) Makes a report describing the state of local items in order to get the differences between the local items and what actually is in a repository.voidsetPath(java.lang.String path, java.lang.String lockToken, long revision, boolean startEmpty) Describes a local path as being at a particular revision.voidsetPath(java.lang.String path, java.lang.String lockToken, long revision, SVNDepth depth, boolean startEmpty) Describes a working copypathas being at a particularrevisionand having depthdepth.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
repository
-
reportBaton
-
editor
-
repositoryLocation
-
locks
-
reporter
-
repositoryRoot
-
-
Constructor Details
-
SVNStatusReporter17
public SVNStatusReporter17(SVNRepository repository, SVNReporter17 reportBaton, SVNStatusEditor17 editor)
-
-
Method Details
-
report
Description copied from interface:ISVNReporterBatonMakes a report describing the state of local items in order to get the differences between the local items and what actually is in a repository.- Specified by:
reportin interfaceISVNReporterBaton- Parameters:
reporter- a reporter passed to make reports- Throws:
SVNException
-
setPath
public void setPath(java.lang.String path, java.lang.String lockToken, long revision, boolean startEmpty) throws SVNException Description copied from interface:ISVNReporterDescribes a local path as being at a particular revision.
If
startEmptyis true and thepathis a directory, an implementor should assume the directory has no entries or properties (used in checkouts and aborted updates).A next call to this method will "override" any previous
setPath()calls made on parent paths. Thepathis relative to the repository location specified for an SVNRepository driver.- Specified by:
setPathin interfaceISVNReporter- Parameters:
path- a local item's pathlockToken- if not null, it is a lock token for thepathrevision- the local item's revision numberstartEmpty- if true and if thepathis a directory, then means there're no entries yet- Throws:
SVNException- in case the repository could not be connected
-
setPath
public void setPath(java.lang.String path, java.lang.String lockToken, long revision, SVNDepth depth, boolean startEmpty) throws SVNException Description copied from interface:ISVNReporterDescribes a working copypathas being at a particularrevisionand having depthdepth.revisionmay be invalid (<0) if (for example)pathrepresents a locally-added path with no revision number, ordepthisSVNDepth.EXCLUDE.pathmay not be underneath a path on whichsetPath()was previously called withSVNDepth.EXCLUDEin this report. IfstartEmptyis set andpathis a directory, this will mean that the directory has no entries or properties. This will *override* any previoussetPath()calls made on parent paths.pathis relative to thelocationof the repository access object. IflockTokenis non-null, it is the lock token forpathin the local tree.- Specified by:
setPathin interfaceISVNReporter- Parameters:
path- a local item's pathlockToken- if not null, it is a lock token for thepathrevision- the local item's revision numberdepth- depth ofpathstartEmpty- if true and if thepathis a directory, then means there're no entries yet- Throws:
SVNException- in case the repository could not be connected
-
deletePath
Description copied from interface:ISVNReporterDescribes a working copypathas deleted or missing.- Specified by:
deletePathin interfaceISVNReporter- Parameters:
path- a path relative to the root of the report- Throws:
SVNException- in case the repository could not be connected
-
linkPath
public void linkPath(SVNURL url, java.lang.String path, java.lang.String lockToken, long revision, boolean startEmpty) throws SVNException Description copied from interface:ISVNReporterDescribes a local path as being at a particular revision to switch the path to a different repository location. LikesetPath(), but differs in that the local item'spath(relative to the root of the report driver) isn't a reflection of the path in the repository, but is instead a reflection of a different repository path at arevision. IfstartEmptyis set and thepathis a directory, the implementor should assume the directory has no entries or properties.- Specified by:
linkPathin interfaceISVNReporter- Parameters:
url- a new repository location to switch topath- the local item's pathlockToken- if not null, it is a lock token for thepathrevision- the local item's revision numberstartEmpty- if true and if thepathis a directory, then means there're no entries yet- Throws:
SVNException- in case the repository could not be connected
-
linkPath
public void linkPath(SVNURL url, java.lang.String path, java.lang.String lockToken, long revision, SVNDepth depth, boolean startEmpty) throws SVNException Description copied from interface:ISVNReporterDescribes a local path as being at a particular revision to switch the path to a different repository location. LikeISVNReporter.setPath(String, String, long, SVNDepth, boolean), but differs in that the local item'spath(relative to the root of the report driver) isn't a reflection of the path in the repository, but is instead a reflection of a different repositoryurlatrevision, and has depthdepth.pathmay not be underneath a path on whichISVNReporter.setPath(String, String, long, SVNDepth, boolean)was previously called withSVNDepth.EXCLUDEin this report. IfstartEmptyis set andpathis a directory, that will mean that the directory has no entries or props. IflockTokenis non-null, it is the lock token forpathin the local tree.- Specified by:
linkPathin interfaceISVNReporter- Parameters:
url- a new repository location to switch topath- the local item's pathlockToken- if not null, it is a lock token for thepathrevision- the local item's revision numberdepth- depth ofpathstartEmpty- if true and if thepathis a directory, then means there're no entries yet- Throws:
SVNException- in case the repository could not be connected
-
finishReport
Description copied from interface:ISVNReporterFinalizes the report. Must be called when having traversed a local tree of paths.Any directories or files not explicitly set (described) are assumed to be at the baseline revision.
- Specified by:
finishReportin interfaceISVNReporter- Throws:
SVNException- in case the repository could not be connected
-
abortReport
Description copied from interface:ISVNReporterAborts the current running report due to errors occured.If an error occurs during a report, call this method to abort the reporter correctly.
- Specified by:
abortReportin interfaceISVNReporter- Throws:
SVNException- in case the repository could not be connected
-