Java Doc for ISVNReporter.java in  » Source-Control » tmatesoft-SVN » org » tmatesoft » svn » core » io » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Source Control » tmatesoft SVN » org.tmatesoft.svn.core.io 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.tmatesoft.svn.core.io.ISVNReporter

All known Subclasses:   org.tmatesoft.svn.core.internal.wc.SVNStatusReporter,  org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl,  org.tmatesoft.svn.core.internal.io.fs.FSRepository,
ISVNReporter
public interface ISVNReporter (Code)
The ISVNReporter interface provides methods to describe the state of local paths in order to get the differences in revisions between those local paths and what is actually in the repository.

ISVNReporter objects are used by ISVNReporterBaton implementations, provided by callers of the SVNRepository's update, switch, status, diff operations.

Paths for report calls are relative to the target of the operation (that is the directory where the command was run). Report calls must be made in depth-first order: parents before children, all children of a parent before any siblings of the parent. The first report call must be a ISVNReporter.setPath(String,String,long,boolean) setPath() with a path argument of "" and a valid revision. If the target of the operation is locally deleted or missing, use the root path's revision. If the target of the operation is deleted or switched relative to the root path, follow up the initial ISVNReporter.setPath(String,String,long,boolean) setPath() call with a ISVNReporter.linkPath(SVNURL,String,String,long,boolean) linkPath() or ISVNReporter.deletePath(String) deletePath() call with a path argument of "" to indicate that. In no other case may there be two report descriptions for the same path. If the target of the operation is a locally added file or directory (which previously did not exist), it may be reported as having revision 0 or as having the parent directory's revision. For more information on using reporters, please, read these on-line article: Using ISVNReporter/ISVNEditor in update-related operations
version:
   1.1.1
author:
   TMate Software Ltd.
See Also:   ISVNReporterBaton
See Also:   SVNRepository
See Also:    Examples





Method Summary
public  voidabortReport()
     Aborts the current running report due to errors occured.

If an error occurs during a report, call this method to abort the reporter correctly.

public  voiddeletePath(String path)
     Describes a working copy path as deleted or missing.
public  voidfinishReport()
     Finalizes the report.
public  voidlinkPath(SVNURL url, String path, String lockToken, long revison, boolean startEmpty)
    

Describes a local path as being at a particular revision to switch the path to a different repository location.

public  voidsetPath(String path, String lockToken, long revision, boolean startEmpty)
    

Describes a local path as being at a particular revision.




Method Detail
abortReport
public void abortReport() throws SVNException(Code)
Aborts the current running report due to errors occured.

If an error occurs during a report, call this method to abort the reporter correctly.
throws:
  SVNException -




deletePath
public void deletePath(String path) throws SVNException(Code)
Describes a working copy path as deleted or missing.
Parameters:
  path - a path relative to the root of the report
throws:
  SVNException -



finishReport
public void finishReport() throws SVNException(Code)
Finalizes 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.
throws:
  SVNException -




linkPath
public void linkPath(SVNURL url, String path, String lockToken, long revison, boolean startEmpty) throws SVNException(Code)

Describes a local path as being at a particular revision to switch the path to a different repository location. Like ISVNReporter.setPath(String,String,long,boolean) setPath() , but differs in that the local item's path (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 a revision.

If startEmpty is set and the path is a directory, the implementor should assume the directory has no entries or properties.
Parameters:
  url - a new repository location to switch to
Parameters:
  path - the local item's path
Parameters:
  lockToken - if not null, it is a lock token for the path
Parameters:
  revison - the local item's revision number
Parameters:
  startEmpty - if true and if the path is a directory, then means there're no entries yet
throws:
  SVNException -




setPath
public void setPath(String path, String lockToken, long revision, boolean startEmpty) throws SVNException(Code)

Describes a local path as being at a particular revision.

If startEmpty is true and the path is 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. The path is relative to the repository location specified for an SVNRepository driver.
Parameters:
  path - a local item's path
Parameters:
  lockToken - if not null, it is a lock token for the path
Parameters:
  revision - the local item's revision number
Parameters:
  startEmpty - if true and if the path is a directory, then means there're no entries yet
throws:
  SVNException -




www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.