Java Doc for SVNBasicClient.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

All known Subclasses:   org.tmatesoft.svn.core.wc.admin.SVNAdminClient,  org.tmatesoft.svn.core.wc.SVNLogClient,  org.tmatesoft.svn.core.wc.admin.SVNLookClient,  org.tmatesoft.svn.core.wc.SVNCopyClient,  org.tmatesoft.svn.core.wc.SVNWCClient,  org.tmatesoft.svn.core.wc.SVNUpdateClient,  org.tmatesoft.svn.core.wc.SVNCommitClient,  org.tmatesoft.svn.core.wc.SVNStatusClient,  org.tmatesoft.svn.core.wc.SVNMoveClient,  org.tmatesoft.svn.core.wc.SVNDiffClient,
SVNBasicClient
public class SVNBasicClient implements ISVNEventHandler(Code)
The SVNBasicClient is the base class of all SVN*Client classes that provides a common interface and realization.

All of SVN*Client classes use inherited methods of SVNBasicClient to access Working Copies metadata, to create a driver object to access a repository if it's necessary, etc. In addition SVNBasicClient provides some interface methods - such as those that allow you to set your ISVNEventHandler event handler , obtain run-time configuration options, and others.
version:
   1.1.1
author:
   TMate Software Ltd.


Inner Class :protected static class RepositoryReference
Inner Class :protected static class SVNRepositoryLocation


Constructor Summary
protected  SVNBasicClient(ISVNAuthenticationManager authManager, ISVNOptions options)
    
protected  SVNBasicClient(ISVNRepositoryPool repositoryPool, ISVNOptions options)
    

Method Summary
public  voidcheckCancelled()
     Redirects this call to the registered event handler (if any).
protected  SVNRepositorycreateRepository(SVNURL url, boolean mayReuse)
    
protected  SVNRepositorycreateRepository(SVNURL url, File path, SVNRevision pegRevision, SVNRevision revision)
    
protected  SVNRepositorycreateRepository(SVNURL url, File path, SVNRevision pegRevision, SVNRevision revision, long[] pegRev)
    
protected  SVNWCAccesscreateWCAccess()
    
protected  SVNWCAccesscreateWCAccess(String pathPrefix)
    
protected  voiddispatchEvent(SVNEvent event)
    
protected  voiddispatchEvent(SVNEvent event, double progress)
    
public  ISVNDebugLoggetDebugLog()
     Returns the debug logger currently in use.
protected  ISVNEventHandlergetEventDispatcher()
    
protected  SVNRepositoryLocation[]getLocations(SVNURL url, File path, SVNRepository repository, SVNRevision revision, SVNRevision start, SVNRevision end)
    
public  ISVNOptionsgetOptions()
     Gets a run-time configuration area driver used by this object.
protected  ISVNRepositoryPoolgetRepositoryPool()
    
protected  longgetRevisionNumber(SVNRevision revision, SVNRepository repository, File path)
    
protected  SVNURLgetURL(File path)
    
public  voidhandleEvent(SVNEvent event, double progress)
     Dispatches events to the registered event handler (if any).
public  booleanisIgnoreExternals()
     Determines if externals definitions are ignored.
public  booleanisLeaveConflictsUnresolved()
     Determines if conflicted files should be left unresolved preventing from merging their contents during update and merge operations.
public  voidsetDebugLog(ISVNDebugLog log)
     Sets a logger to write debug log information to.
public  voidsetEventHandler(ISVNEventHandler dispatcher)
     Sets an event handler for this object.
public  voidsetEventPathPrefix(String prefix)
     Removes or adds a path prefix.
public  voidsetIgnoreExternals(boolean ignore)
     Sets externals definitions to be ignored or not during operations.
public  voidsetLeaveConflictsUnresolved(boolean leave)
     Sets (or unsets) all conflicted working files to be untouched by update and merge operations.

By default when a file receives changes from the repository that are in conflict with local edits, an update operation places two sections for each conflicting snatch into the working file one of which is a user's local edit and the second is the one just received from the repository.

public  voidsetOptions(ISVNOptions options)
    
protected  voidsleepForTimeStamp()
    


Constructor Detail
SVNBasicClient
protected SVNBasicClient(ISVNAuthenticationManager authManager, ISVNOptions options)(Code)



SVNBasicClient
protected SVNBasicClient(ISVNRepositoryPool repositoryPool, ISVNOptions options)(Code)




Method Detail
checkCancelled
public void checkCancelled() throws SVNCancelException(Code)
Redirects this call to the registered event handler (if any).
throws:
  SVNCancelException - if the current operationwas cancelled



createRepository
protected SVNRepository createRepository(SVNURL url, boolean mayReuse) throws SVNException(Code)



createRepository
protected SVNRepository createRepository(SVNURL url, File path, SVNRevision pegRevision, SVNRevision revision) throws SVNException(Code)



createRepository
protected SVNRepository createRepository(SVNURL url, File path, SVNRevision pegRevision, SVNRevision revision, long[] pegRev) throws SVNException(Code)



createWCAccess
protected SVNWCAccess createWCAccess()(Code)



createWCAccess
protected SVNWCAccess createWCAccess(String pathPrefix)(Code)



dispatchEvent
protected void dispatchEvent(SVNEvent event) throws SVNException(Code)



dispatchEvent
protected void dispatchEvent(SVNEvent event, double progress) throws SVNException(Code)



getDebugLog
public ISVNDebugLog getDebugLog()(Code)
Returns the debug logger currently in use.

If no debug logger has been specified by the time this call occurs, a default one (returned by org.tmatesoft.svn.util.SVNDebugLog.getDefaultLog()) will be created and used. a debug logger




getEventDispatcher
protected ISVNEventHandler getEventDispatcher()(Code)



getLocations
protected SVNRepositoryLocation[] getLocations(SVNURL url, File path, SVNRepository repository, SVNRevision revision, SVNRevision start, SVNRevision end) throws SVNException(Code)



getOptions
public ISVNOptions getOptions()(Code)
Gets a run-time configuration area driver used by this object. the run-time options driver being in use



getRepositoryPool
protected ISVNRepositoryPool getRepositoryPool()(Code)



getRevisionNumber
protected long getRevisionNumber(SVNRevision revision, SVNRepository repository, File path) throws SVNException(Code)



getURL
protected SVNURL getURL(File path) throws SVNException(Code)



handleEvent
public void handleEvent(SVNEvent event, double progress) throws SVNException(Code)
Dispatches events to the registered event handler (if any).
Parameters:
  event - the current event
Parameters:
  progress - progress state (from 0 to 1)
throws:
  SVNException -



isIgnoreExternals
public boolean isIgnoreExternals()(Code)
Determines if externals definitions are ignored. true if ignored,otherwise false
See Also:   SVNBasicClient.setIgnoreExternals(boolean)



isLeaveConflictsUnresolved
public boolean isLeaveConflictsUnresolved()(Code)
Determines if conflicted files should be left unresolved preventing from merging their contents during update and merge operations. true if conflicted filesare set to be prevented from merging, falseif there's no such restriction
See Also:   SVNBasicClient.setLeaveConflictsUnresolved(boolean)
See Also:   



setDebugLog
public void setDebugLog(ISVNDebugLog log)(Code)
Sets a logger to write debug log information to.
Parameters:
  log - a debug logger



setEventHandler
public void setEventHandler(ISVNEventHandler dispatcher)(Code)
Sets an event handler for this object. This event handler will be dispatched SVNEvent objects to provide detailed information about actions and progress state of version control operations performed by do*() methods of SVN*Client classes.
Parameters:
  dispatcher - an event handler



setEventPathPrefix
public void setEventPathPrefix(String prefix)(Code)
Removes or adds a path prefix. This method is not intended for users (from an API point of view).
Parameters:
  prefix - a path prefix



setIgnoreExternals
public void setIgnoreExternals(boolean ignore)(Code)
Sets externals definitions to be ignored or not during operations.

For example, if external definitions are set to be ignored then a checkout operation won't fetch them into a Working Copy.
Parameters:
  ignore - true to ignoreexternals definitions, false - not to
See Also:   SVNBasicClient.isIgnoreExternals()




setLeaveConflictsUnresolved
public void setLeaveConflictsUnresolved(boolean leave)(Code)
Sets (or unsets) all conflicted working files to be untouched by update and merge operations.

By default when a file receives changes from the repository that are in conflict with local edits, an update operation places two sections for each conflicting snatch into the working file one of which is a user's local edit and the second is the one just received from the repository. Like this:

 <<<<<<< .mine
 user's text
 =======
 received text
 >>>>>>> .r2

Also the operation creates three temporary files that appear in the same directory as the working file. Now if you call this method with leave set to true, an update will still create temporary files but won't place those two sections into your working file. And this behaviour also concerns merge operations: any merging to a conflicted file will be prevented. In addition if there is any registered event handler for an SVNDiffClient or SVNUpdateClient instance then the handler will be dispatched an event with the status type set to SVNStatusType.CONFLICTED_UNRESOLVED .

The default value is false until a caller explicitly changes it calling this method.
Parameters:
  leave - true to prevent conflicted files from merging (all merging operations will be skipped), otherwise false
See Also:   SVNBasicClient.isLeaveConflictsUnresolved()
See Also:   
See Also:   SVNUpdateClient
See Also:   SVNDiffClient
See Also:   ISVNEventHandler




setOptions
public void setOptions(ISVNOptions options)(Code)



sleepForTimeStamp
protected void sleepForTimeStamp()(Code)



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.