Java Doc for SVNStatusClient.java in  » Source-Control » tmatesoft-SVN » org » tmatesoft » svn » core » wc » 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.wc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.tmatesoft.svn.core.wc.SVNBasicClient
      org.tmatesoft.svn.core.wc.SVNStatusClient

SVNStatusClient
public class SVNStatusClient extends SVNBasicClient (Code)
The SVNStatusClient class provides methods for obtaining information on the status of Working Copy items. The functionality of SVNStatusClient corresponds to the 'svn status' command of the native SVN command line client.

One of the main advantages of SVNStatusClient lies in that fact that for each processed item the status information is collected and put into an SVNStatus object. Further there are two ways how this object can be passed to a developer (depending on the version of the doStatus() method that was invoked):

  1. the SVNStatus can be passed to a developer's status handler (that should implement ISVNStatusHandler) in which the developer retrieves status information and decides how to interprete that info;
  2. another way is that an appropriate doStatus() method just returns that SVNStatus object.
Those methods that match the first variant can be called recursively - obtaining status information for all child entries, the second variant just the reverse - methods are called non-recursively and allow to get status info on a single item.
version:
   1.1.1
author:
   TMate Software Ltd.
See Also:   ISVNStatusHandler
See Also:   SVNStatus
See Also:    Examples



Constructor Summary
public  SVNStatusClient(ISVNAuthenticationManager authManager, ISVNOptions options)
     Constructs and initializes an SVNStatusClient object with the specified run-time configuration and authentication drivers.

If options is null, then this SVNStatusClient will be using a default run-time configuration driver which takes client-side settings from the default SVN's run-time configuration area but is not able to change those settings (read more on ISVNOptions and SVNWCUtil ).

public  SVNStatusClient(ISVNRepositoryPool repositoryPool, ISVNOptions options)
    

Method Summary
public  longdoStatus(File path, boolean recursive, boolean remote, boolean reportAll, boolean includeIgnored, ISVNStatusHandler handler)
     Collects status information on Working Copy items and passes it to a handler.
public  longdoStatus(File path, boolean recursive, boolean remote, boolean reportAll, boolean includeIgnored, boolean collectParentExternals, ISVNStatusHandler handler)
     Collects status information on Working Copy items and passes it to a handler.
public  longdoStatus(File path, SVNRevision revision, boolean recursive, boolean remote, boolean reportAll, boolean includeIgnored, boolean collectParentExternals, ISVNStatusHandler handler)
     Collects status information on Working Copy items and passes it to a handler.
public  SVNStatusdoStatus(File path, boolean remote)
     Collects status information on a single Working Copy item.
public  SVNStatusdoStatus(File path, boolean remote, boolean collectParentExternals)
     Collects status information on a single Working Copy item.


Constructor Detail
SVNStatusClient
public SVNStatusClient(ISVNAuthenticationManager authManager, ISVNOptions options)(Code)
Constructs and initializes an SVNStatusClient object with the specified run-time configuration and authentication drivers.

If options is null, then this SVNStatusClient will be using a default run-time configuration driver which takes client-side settings from the default SVN's run-time configuration area but is not able to change those settings (read more on ISVNOptions and SVNWCUtil ).

If authManager is null, then this SVNStatusClient will be using a default authentication and network layers driver (see SVNWCUtil.createDefaultAuthenticationManager ) which uses server-side settings and auth storage from the default SVN's run-time configuration area (or system properties if that area is not found).
Parameters:
  authManager - an authentication and network layers driver
Parameters:
  options - a run-time configuration options driver




SVNStatusClient
public SVNStatusClient(ISVNRepositoryPool repositoryPool, ISVNOptions options)(Code)




Method Detail
doStatus
public long doStatus(File path, boolean recursive, boolean remote, boolean reportAll, boolean includeIgnored, ISVNStatusHandler handler) throws SVNException(Code)
Collects status information on Working Copy items and passes it to a handler.
Parameters:
  path - local item's path
Parameters:
  recursive - relevant only if path denotes a directory:true to obtain status info recursively for allchild entries, false only for items located immediatelyin the directory itself
Parameters:
  remote - true to check up the status of the item in the repository,that will tell if the local item is out-of-date (like '-u' option in theSVN client's 'svn status' command), otherwise false
Parameters:
  reportAll - true to collect status information on those items that are in a 'normal' state (unchanged), otherwise false
Parameters:
  includeIgnored - true to force the operation to collect informationon items that were set to be ignored (like '--no-ignore' option in the SVN client's 'svn status' command to disregard default and 'svn:ignore' propertyignores), otherwise false
Parameters:
  handler - a caller's status handler that will be involvedin processing status information the revision number the status information was collectedagainst
throws:
  SVNException -
See Also:   ISVNStatusHandler



doStatus
public long doStatus(File path, boolean recursive, boolean remote, boolean reportAll, boolean includeIgnored, boolean collectParentExternals, ISVNStatusHandler handler) throws SVNException(Code)
Collects status information on Working Copy items and passes it to a handler.

Calling this method is equivalent to doStatus(path, SVNRevision.HEAD, recursive, remote, reportAll, includeIgnored, collectParentExternals, handler).
Parameters:
  path - local item's path
Parameters:
  recursive - relevant only if path denotes a directory:true to obtain status info recursively for allchild entries, false only for items located immediately in the directory itself
Parameters:
  remote - true to check up the status of the item in the repository,that will tell if the local item is out-of-date (like '-u' option in theSVN client's 'svn status' command), otherwise false
Parameters:
  reportAll - true to collect status information on all items including those ones that are in a 'normal' state (unchanged), otherwise false
Parameters:
  includeIgnored - true to force the operation to collect informationon items that were set to be ignored (like '--no-ignore' option in the SVN client's 'svn status' command to disregard default and 'svn:ignore' propertyignores), otherwise false
Parameters:
  collectParentExternals - false to make the operation ignore informationon externals definitions (like '--ignore-externals' option in the SVNclient's 'svn status' command), otherwise true
Parameters:
  handler - a caller's status handler that will be involvedin processing status information the revision number the status information was collectedagainst
throws:
  SVNException -




doStatus
public long doStatus(File path, SVNRevision revision, boolean recursive, boolean remote, boolean reportAll, boolean includeIgnored, boolean collectParentExternals, ISVNStatusHandler handler) throws SVNException(Code)
Collects status information on Working Copy items and passes it to a handler.
Parameters:
  path - local item's path
Parameters:
  revision - if remote is truethis revision is used to calculate status against
Parameters:
  recursive - relevant only if path denotes a directory:true to obtain status info recursively for allchild entries, false only for items located immediately in the directory itself
Parameters:
  remote - true to check up the status of the item in the repository,that will tell if the local item is out-of-date (like '-u' option in theSVN client's 'svn status' command), otherwise false
Parameters:
  reportAll - true to collect status information on all items including those ones that are in a 'normal' state (unchanged), otherwise false
Parameters:
  includeIgnored - true to force the operation to collect informationon items that were set to be ignored (like '--no-ignore' option in the SVN client's 'svn status' command to disregard default and 'svn:ignore' propertyignores), otherwise false
Parameters:
  collectParentExternals - false to make the operation ignore informationon externals definitions (like '--ignore-externals' option in the SVNclient's 'svn status' command), otherwise true
Parameters:
  handler - a caller's status handler that will be involvedin processing status information the revision number the status information was collectedagainst
throws:
  SVNException -



doStatus
public SVNStatus doStatus(File path, boolean remote) throws SVNException(Code)
Collects status information on a single Working Copy item.
Parameters:
  path - local item's path
Parameters:
  remote - true to check up the status of the item in the repository,that will tell if the local item is out-of-date (like '-u' option in theSVN client's 'svn status' command), otherwise false an SVNStatus object representing status information for the item
throws:
  SVNException -



doStatus
public SVNStatus doStatus(File path, boolean remote, boolean collectParentExternals) throws SVNException(Code)
Collects status information on a single Working Copy item.
Parameters:
  path - local item's path
Parameters:
  remote - true to check up the status of the item in the repository,that will tell if the local item is out-of-date (like '-u' option in theSVN client's 'svn status' command), otherwise false
Parameters:
  collectParentExternals - false to make the operation ignore informationon externals definitions (like '--ignore-externals' option in the SVNclient's 'svn status' command), otherwise false an SVNStatus object representing status information for the item
throws:
  SVNException -



Methods inherited from org.tmatesoft.svn.core.wc.SVNBasicClient
public void checkCancelled() throws SVNCancelException(Code)(Java Doc)
protected SVNRepository createRepository(SVNURL url, boolean mayReuse) throws SVNException(Code)(Java Doc)
protected SVNRepository createRepository(SVNURL url, File path, SVNRevision pegRevision, SVNRevision revision) throws SVNException(Code)(Java Doc)
protected SVNRepository createRepository(SVNURL url, File path, SVNRevision pegRevision, SVNRevision revision, long[] pegRev) throws SVNException(Code)(Java Doc)
protected SVNWCAccess createWCAccess()(Code)(Java Doc)
protected SVNWCAccess createWCAccess(String pathPrefix)(Code)(Java Doc)
protected void dispatchEvent(SVNEvent event) throws SVNException(Code)(Java Doc)
protected void dispatchEvent(SVNEvent event, double progress) throws SVNException(Code)(Java Doc)
public ISVNDebugLog getDebugLog()(Code)(Java Doc)
protected ISVNEventHandler getEventDispatcher()(Code)(Java Doc)
protected SVNRepositoryLocation[] getLocations(SVNURL url, File path, SVNRepository repository, SVNRevision revision, SVNRevision start, SVNRevision end) throws SVNException(Code)(Java Doc)
public ISVNOptions getOptions()(Code)(Java Doc)
protected ISVNRepositoryPool getRepositoryPool()(Code)(Java Doc)
protected long getRevisionNumber(SVNRevision revision, SVNRepository repository, File path) throws SVNException(Code)(Java Doc)
protected SVNURL getURL(File path) throws SVNException(Code)(Java Doc)
public void handleEvent(SVNEvent event, double progress) throws SVNException(Code)(Java Doc)
public boolean isIgnoreExternals()(Code)(Java Doc)
public boolean isLeaveConflictsUnresolved()(Code)(Java Doc)
public void setDebugLog(ISVNDebugLog log)(Code)(Java Doc)
public void setEventHandler(ISVNEventHandler dispatcher)(Code)(Java Doc)
public void setEventPathPrefix(String prefix)(Code)(Java Doc)
public void setIgnoreExternals(boolean ignore)(Code)(Java Doc)
public void setLeaveConflictsUnresolved(boolean leave)(Code)(Java Doc)
public void setOptions(ISVNOptions options)(Code)(Java Doc)
protected void sleepForTimeStamp()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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