Java Doc for SVNClientSynchronized.java in  » Source-Control » tmatesoft-SVN » org » tigris » subversion » javahl » 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.tigris.subversion.javahl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.tigris.subversion.javahl.SVNClientSynchronized

SVNClientSynchronized
public class SVNClientSynchronized implements SVNClientInterface(Code)
This class provides a threadsafe wrapped for SVNClient



Constructor Summary
public  SVNClientSynchronized()
    

Method Summary
public  voidadd(String path, boolean recurse)
     Adds a file to the repository.
public  voidadd(String path, boolean recurse, boolean force)
     Adds a file to the repository.
public  byte[]blame(String path, Revision revisionStart, Revision revisionEnd)
     Return for each line of the file, the author and the revision of the last together with the content.
public  voidblame(String path, Revision revisionStart, Revision revisionEnd, BlameCallback callback)
    
public  voidblame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback)
    
public  voidcancelOperation()
    
public  longcheckout(String moduleName, String destPath, Revision revision, Revision pegRevision, boolean recurse, boolean ignoreExternals)
     Executes a revision checkout.
public  longcheckout(String moduleName, String destPath, Revision revision, boolean recurse)
     Executes a revision checkout.
public  voidcleanup(String path)
     Recursively cleans up a local directory, finishing any incomplete operations, removing lockfiles, etc.
public  longcommit(String[] path, String message, boolean recurse)
     Commits changes to the repository.
Parameters:
  path - files to commit.
Parameters:
  message - log message.
Parameters:
  recurse - whether the operation should be done recursively.
public  longcommit(String[] path, String message, boolean recurse, boolean noUnlock)
     Commits changes to the repository.
Parameters:
  path - files to commit.
Parameters:
  message - log message.
Parameters:
  recurse - whether the operation should be done recursively.
Parameters:
  noUnlock - do remove any locks Returns a long representing the revision.
public  voidcommitMessageHandler(CommitMessage messageHandler)
     Sets the commit message handler.
public  voidcopy(String srcPath, String destPath, String message, Revision revision)
     Copies a versioned file with the history preserved.
public  voiddiff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse)
    
public  voiddiff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force)
    
public  voiddiff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force)
    
public  voiddispose()
    
public  longdoExport(String srcPath, String destPath, Revision revision, boolean force)
     Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
public  longdoExport(String srcPath, String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, boolean recurse, String nativeEOL)
     Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
public  voiddoImport(String path, String url, String message, boolean recurse)
     Import a file or directory into a repository directory at head.
public  longdoSwitch(String path, String url, Revision revision, boolean recurse)
     Update local copy to mirror a new url.
public  byte[]fileContent(String path, Revision revision)
    
public  byte[]fileContent(String path, Revision revision, Revision pegRevision)
    
public  StringgetAdminDirectoryName()
    
public  StringgetConfigDirectory()
    
public  StringgetLastPath()
     Returns the last destination path submitted.
public  VersiongetVersion()
    
public  StringgetVersionInfo(String path, String trailUrl, boolean lastChanged)
    
public  Infoinfo(String path)
    
public  Info2[]info2(String pathOrUrl, Revision revision, Revision pegRevision, boolean recurse)
     Retrieve information about repository or working copy items.
public  booleanisAdminDirectory(String name)
    
Parameters:
  name - The name of the directory to compare.
public  DirEntry[]list(String url, Revision revision, boolean recurse)
     Lists the directory entries of an url on the server.
public  DirEntry[]list(String url, Revision revision, Revision pegRevision, boolean recurse)
     Lists the directory entries of an url on the server.
public  voidlock(String[] path, String comment, boolean force)
    
public  LogMessage[]logMessages(String path, Revision revisionStart, Revision revisionEnd)
    
public  LogMessage[]logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy)
    
public  LogMessage[]logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath)
    
public  LogMessage[]logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, long limit)
    
public  voidmerge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse)
     Merge changes from two paths into a new local path.
public  voidmerge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun)
     Merge changes from two paths into a new local path.
public  voidmerge(String path, Revision pegRevision, Revision revision1, Revision revision2, String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun)
     Merge changes from two paths into a new local path.
public  voidmkdir(String[] path, String message)
     Creates a directory directly in a repository or creates a directory on disk and schedules it for addition.
public  voidmove(String srcPath, String destPath, String message, Revision revision, boolean force)
     Moves or renames a file.
public  voidmove(String srcPath, String destPath, String message, boolean force)
     Moves or renames a file.
public  voidnotification(Notify notify)
     Sets the notification callback used to send processing information back to the calling program.
public  voidnotification2(Notify2 notify)
     Sets the notification callback used to send processing information back to the calling program.
public  voidpassword(String password)
     Sets the password used for authification.
public  PropertyData[]properties(String path)
    
public  PropertyData[]properties(String path, Revision revision)
    
public  PropertyData[]properties(String path, Revision revision, Revision pegRevision)
    
public  voidpropertyCreate(String path, String name, String value, boolean recurse)
    
public  voidpropertyCreate(String path, String name, String value, boolean recurse, boolean force)
    
public  voidpropertyCreate(String path, String name, byte[] value, boolean recurse)
    
public  voidpropertyCreate(String path, String name, byte[] value, boolean recurse, boolean force)
    
public  PropertyDatapropertyGet(String path, String name)
    
public  PropertyDatapropertyGet(String path, String name, Revision revision)
    
public  PropertyDatapropertyGet(String path, String name, Revision revision, Revision pegRevision)
    
public  voidpropertyRemove(String path, String name, boolean recurse)
     Remove one property of an item.
public  voidpropertySet(String path, String name, String value, boolean recurse)
    
public  voidpropertySet(String path, String name, String value, boolean recurse, boolean force)
    
public  voidpropertySet(String path, String name, byte[] value, boolean recurse)
    
public  voidpropertySet(String path, String name, byte[] value, boolean recurse, boolean force)
    
public  voidrelocate(String from, String to, String path, boolean recurse)
    
public  voidremove(String[] path, String message, boolean force)
     Sets a file for deletion.
public  voidresolved(String path, boolean recurse)
     Removes the 'conflicted' state on a file.
public  PropertyData[]revProperties(String path, Revision rev)
    
public  PropertyDatarevProperty(String path, String name, Revision rev)
    
public  voidrevert(String path, boolean recurse)
     Reverts a file to a pristine state.
public  voidsetConfigDirectory(String configDir)
    
public  voidsetPrompt(PromptUserPassword prompt)
    
public  voidsetRevProperty(String path, String name, Revision rev, String value, boolean force)
    
public  StatussingleStatus(String path, boolean onServer)
     Returns the status of a single file in the path.
Parameters:
  path - File to gather status.
Parameters:
  onServer - Request status information from the server.
public  Status[]status(String path, boolean descend, boolean onServer, boolean getAll)
     List a directory or file of the working copy.
Parameters:
  path - Path to explore.
Parameters:
  descend - Recurse into subdirectories if they exist.
Parameters:
  onServer - Request status information from server.
Parameters:
  getAll - get status for uninteristing files (unchanged).
public  Status[]status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore)
     List a directory or file of the working copy.
Parameters:
  path - Path to explore.
Parameters:
  descend - Recurse into subdirectories if they exist.
Parameters:
  onServer - Request status information from server.
Parameters:
  getAll - get status for uninteristing files (unchanged).
Parameters:
  noIgnore - get status for normaly ignored files and directories.
public  Status[]status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals)
     List a directory or file of the working copy.
public  voidstreamFileContent(String path, Revision revision, Revision pegRevision, int bufferSize, OutputStream stream)
     Write the file's content to the specified output stream.
public  voidunlock(String[] path, boolean force)
    
public  longupdate(String path, Revision revision, boolean recurse)
    
public  long[]update(String[] path, Revision revision, boolean recurse, boolean ignoreExternals)
    
public  voidusername(String username)
     Sets the username used for authentification.


Constructor Detail
SVNClientSynchronized
public SVNClientSynchronized()(Code)
Create our worker




Method Detail
add
public void add(String path, boolean recurse) throws ClientException(Code)
Adds a file to the repository.
Parameters:
  path - path to be added.
Parameters:
  recurse - recurse into subdirectories
exception:
  ClientException -



add
public void add(String path, boolean recurse, boolean force) throws ClientException(Code)
Adds a file to the repository.
Parameters:
  path - path to be added.
Parameters:
  recurse - recurse into subdirectories
Parameters:
  force - if adding a directory and recurse true and path is adirectory, all not already managed files are added.
exception:
  ClientException -
since:
   1.2



blame
public byte[] blame(String path, Revision revisionStart, Revision revisionEnd) throws ClientException(Code)
Return for each line of the file, the author and the revision of the last together with the content.
Parameters:
  path - the path
Parameters:
  revisionStart - the first revision to show
Parameters:
  revisionEnd - the last revision to show the content together with author and revision of last change
throws:
  ClientException -



blame
public void blame(String path, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException(Code)
Retrieve the content together with the author, the revision and the date of the last change of each line
Parameters:
  path - the path
Parameters:
  revisionStart - the first revision to show
Parameters:
  revisionEnd - the last revision to show
Parameters:
  callback - callback to receive the file content and the otherinformation
throws:
  ClientException -



blame
public void blame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException(Code)
Retrieve the content together with the author, the revision and the date of the last change of each line
Parameters:
  path - the path
Parameters:
  pegRevision - the revision to interpret the path
Parameters:
  revisionStart - the first revision to show
Parameters:
  revisionEnd - the last revision to show
Parameters:
  callback - callback to receive the file content and the otherinformation
throws:
  ClientException -
since:
   1.2



cancelOperation
public void cancelOperation() throws ClientException(Code)
cancel the active operation
throws:
  ClientException -



checkout
public long checkout(String moduleName, String destPath, Revision revision, Revision pegRevision, boolean recurse, boolean ignoreExternals) throws ClientException(Code)
Executes a revision checkout.
Parameters:
  moduleName - name of the module to checkout.
Parameters:
  destPath - destination directory for checkout.
Parameters:
  revision - the revision to checkout.
Parameters:
  pegRevision - the peg revision to interpret the path
Parameters:
  recurse - whether you want it to checkout files recursively.
Parameters:
  ignoreExternals - if externals are ignored during checkout
exception:
  ClientException -
since:
   1.2



checkout
public long checkout(String moduleName, String destPath, Revision revision, boolean recurse) throws ClientException(Code)
Executes a revision checkout.
Parameters:
  moduleName - name of the module to checkout.
Parameters:
  destPath - destination directory for checkout.
Parameters:
  revision - the revision to checkout.
Parameters:
  recurse - whether you want it to checkout files recursively.
exception:
  ClientException -



cleanup
public void cleanup(String path) throws ClientException(Code)
Recursively cleans up a local directory, finishing any incomplete operations, removing lockfiles, etc.
Parameters:
  path - a local directory.
exception:
  ClientException -



commit
public long commit(String[] path, String message, boolean recurse) throws ClientException(Code)
Commits changes to the repository.
Parameters:
  path - files to commit.
Parameters:
  message - log message.
Parameters:
  recurse - whether the operation should be done recursively. Returns a long representing the revision. It returns a-1 if the revision number is invalid.
exception:
  ClientException -



commit
public long commit(String[] path, String message, boolean recurse, boolean noUnlock) throws ClientException(Code)
Commits changes to the repository.
Parameters:
  path - files to commit.
Parameters:
  message - log message.
Parameters:
  recurse - whether the operation should be done recursively.
Parameters:
  noUnlock - do remove any locks Returns a long representing the revision. It returns a-1 if the revision number is invalid.
throws:
  ClientException -
since:
   1.2



commitMessageHandler
public void commitMessageHandler(CommitMessage messageHandler)(Code)
Sets the commit message handler. This allows more complex commit message with the list of the elements to be commited as input.
Parameters:
  messageHandler - callback for entering commit messagesif this is set the message parameter is ignored.



copy
public void copy(String srcPath, String destPath, String message, Revision revision) throws ClientException(Code)
Copies a versioned file with the history preserved.
Parameters:
  srcPath - source path or url
Parameters:
  destPath - destination path or url
Parameters:
  message - commit message if destPath is an url
Parameters:
  revision - source revision
exception:
  ClientException -



diff
public void diff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse) throws ClientException(Code)
Display the differences between two paths
Parameters:
  target1 - first path or url
Parameters:
  revision1 - first revision
Parameters:
  target2 - second path or url
Parameters:
  revision2 - second revision
Parameters:
  outFileName - file name where difference are written
Parameters:
  recurse - traverse into subdirectories
exception:
  ClientException -



diff
public void diff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException(Code)
Display the differences between two paths
Parameters:
  target1 - first path or url
Parameters:
  revision1 - first revision
Parameters:
  target2 - second path or url
Parameters:
  revision2 - second revision
Parameters:
  outFileName - file name where difference are written
Parameters:
  recurse - traverse into subdirectories
Parameters:
  ignoreAncestry - ignore if files are not related
Parameters:
  noDiffDeleted - no output on deleted files
Parameters:
  force - diff even on binary files
throws:
  ClientException -
since:
   1.2



diff
public void diff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException(Code)
Display the differences between two paths
Parameters:
  target - path or url
Parameters:
  pegRevision - revision tointerpret target
Parameters:
  startRevision - first Revision to compare
Parameters:
  endRevision - second Revision to compare
Parameters:
  outFileName - file name where difference are written
Parameters:
  recurse - traverse into subdirectories
Parameters:
  ignoreAncestry - ignore if files are not related
Parameters:
  noDiffDeleted - no output on deleted files
Parameters:
  force - diff even on binary files
throws:
  ClientException -
since:
   1.2



dispose
public void dispose()(Code)
release the native peer (should not depend on finalize)



doExport
public long doExport(String srcPath, String destPath, Revision revision, boolean force) throws ClientException(Code)
Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
Parameters:
  srcPath - the url of the repository path to be exported
Parameters:
  destPath - a destination path that must not already exist.
Parameters:
  revision - the revsion to be exported
Parameters:
  force - set if it is ok to overwrite local files
exception:
  ClientException -



doExport
public long doExport(String srcPath, String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, boolean recurse, String nativeEOL) throws ClientException(Code)
Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
Parameters:
  srcPath - the url of the repository path to be exported
Parameters:
  destPath - a destination path that must not already exist.
Parameters:
  revision - the revsion to be exported
Parameters:
  pegRevision - the revision to interpret srcPath
Parameters:
  force - set if it is ok to overwrite local files
Parameters:
  ignoreExternals - ignore external during export
Parameters:
  recurse - recurse to subdirectories
Parameters:
  nativeEOL - which EOL characters to use during export
throws:
  ClientException -
since:
   1.2



doImport
public void doImport(String path, String url, String message, boolean recurse) throws ClientException(Code)
Import a file or directory into a repository directory at head.
Parameters:
  path - the local path
Parameters:
  url - the target url
Parameters:
  message - the log message.
Parameters:
  recurse - traverse into subdirectories
exception:
  ClientException -



doSwitch
public long doSwitch(String path, String url, Revision revision, boolean recurse) throws ClientException(Code)
Update local copy to mirror a new url.
Parameters:
  path - the working copy path
Parameters:
  url - the new url for the working copy
Parameters:
  revision - the new base revision of working copy
Parameters:
  recurse - traverse into subdirectories
exception:
  ClientException -



fileContent
public byte[] fileContent(String path, Revision revision) throws ClientException(Code)
Retrieve the content of a file
Parameters:
  path - the path of the file
Parameters:
  revision - the revision to retrieve the content as byte array
throws:
  ClientException -



fileContent
public byte[] fileContent(String path, Revision revision, Revision pegRevision) throws ClientException(Code)
Retrieve the content of a file
Parameters:
  path - the path of the file
Parameters:
  revision - the revision to retrieve
Parameters:
  pegRevision - the revision to interpret path the content as byte array
throws:
  ClientException -
since:
   1.2



getAdminDirectoryName
public String getAdminDirectoryName()(Code)
The name of the working copy's administrativedirectory, which is usually .svn.
See Also:    Instructions
See Also:   on changing this as a work-around for the behavior of ASP.Net
See Also:   on Windows.
since:
   1.3



getConfigDirectory
public String getConfigDirectory() throws ClientException(Code)
Get the configuration directory the directory
throws:
  ClientException -



getLastPath
public String getLastPath()(Code)
Returns the last destination path submitted. path in Subversion format.



getVersion
public Version getVersion()(Code)
Version information about the underlying native libraries.



getVersionInfo
public String getVersionInfo(String path, String trailUrl, boolean lastChanged) throws ClientException(Code)
Produce a compact "version number" for a working copy
Parameters:
  path - path of the working copy
Parameters:
  trailUrl - to detect switches of the whole working copy
Parameters:
  lastChanged - last changed rather than current revisions the compact "version number"
throws:
  ClientException -
since:
   1.2



info
public Info info(String path) throws ClientException(Code)
Retrieves the working copy information for an item
Parameters:
  path - path of the item the information object
throws:
  ClientException -



info2
public Info2[] info2(String pathOrUrl, Revision revision, Revision pegRevision, boolean recurse) throws ClientException(Code)
Retrieve information about repository or working copy items.
Parameters:
  pathOrUrl - the path or the url of the item
Parameters:
  revision - the revision of the item to return
Parameters:
  pegRevision - the revision to interpret pathOrUrl
Parameters:
  recurse - flag if to recurse, if the item is a directory the information objects
since:
   1.2



isAdminDirectory
public boolean isAdminDirectory(String name)(Code)

Parameters:
  name - The name of the directory to compare. Whether name is that of a working copyadministrative directory.
since:
   1.3



list
public DirEntry[] list(String url, Revision revision, boolean recurse) throws ClientException(Code)
Lists the directory entries of an url on the server.
Parameters:
  url - the url to list
Parameters:
  revision - the revision to list
Parameters:
  recurse - recurse into subdirectories Array of DirEntry objects.



list
public DirEntry[] list(String url, Revision revision, Revision pegRevision, boolean recurse) throws ClientException(Code)
Lists the directory entries of an url on the server.
Parameters:
  url - the url to list
Parameters:
  revision - the revision to list
Parameters:
  pegRevision - the revision to interpret url
Parameters:
  recurse - recurse into subdirectories Array of DirEntry objects.
since:
   1.2



lock
public void lock(String[] path, String comment, boolean force) throws ClientException(Code)
Lock a working copy item
Parameters:
  path - path of the item
Parameters:
  comment -
Parameters:
  force - break an existing lock
throws:
  ClientException -
since:
   1.2



logMessages
public LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd) throws ClientException(Code)
Retrieve the log messages for an item
Parameters:
  path - path or url to get the log message for.
Parameters:
  revisionStart - first revision to show
Parameters:
  revisionEnd - last revision to show array of LogMessages



logMessages
public LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy) throws ClientException(Code)
Retrieve the log messages for an item
Parameters:
  path - path or url to get the log message for.
Parameters:
  revisionStart - first revision to show
Parameters:
  revisionEnd - last revision to show
Parameters:
  stopOnCopy - do not continue on copy operations array of LogMessages



logMessages
public LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath) throws ClientException(Code)
Retrieve the log messages for an item
Parameters:
  path - path or url to get the log message for.
Parameters:
  revisionStart - first revision to show
Parameters:
  revisionEnd - last revision to show
Parameters:
  stopOnCopy - do not continue on copy operations
Parameters:
  discoverPath - returns the paths of the changed items in thereturned objects array of LogMessages



logMessages
public LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, long limit) throws ClientException(Code)
Retrieve the log messages for an item
Parameters:
  path - path or url to get the log message for.
Parameters:
  revisionStart - first revision to show
Parameters:
  revisionEnd - last revision to show
Parameters:
  stopOnCopy - do not continue on copy operations
Parameters:
  discoverPath - returns the paths of the changed items in thereturned objects
Parameters:
  limit - limit the number of log messages (if 0 or less nolimit) array of LogMessages
since:
   1.2



merge
public void merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse) throws ClientException(Code)
Merge changes from two paths into a new local path.
Parameters:
  path1 - first path or url
Parameters:
  revision1 - first revision
Parameters:
  path2 - second path or url
Parameters:
  revision2 - second revision
Parameters:
  localPath - target local path
Parameters:
  force - overwrite local changes
Parameters:
  recurse - traverse into subdirectories
exception:
  ClientException -



merge
public void merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun) throws ClientException(Code)
Merge changes from two paths into a new local path.
Parameters:
  path1 - first path or url
Parameters:
  revision1 - first revision
Parameters:
  path2 - second path or url
Parameters:
  revision2 - second revision
Parameters:
  localPath - target local path
Parameters:
  force - overwrite local changes
Parameters:
  recurse - traverse into subdirectories
Parameters:
  ignoreAncestry - ignore if files are not related
Parameters:
  dryRun - do not change anything
throws:
  ClientException -
since:
   1.2



merge
public void merge(String path, Revision pegRevision, Revision revision1, Revision revision2, String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun) throws ClientException(Code)
Merge changes from two paths into a new local path.
Parameters:
  path - path or url
Parameters:
  pegRevision - revision to interpret path
Parameters:
  revision1 - first revision
Parameters:
  revision2 - second revision
Parameters:
  localPath - target local path
Parameters:
  force - overwrite local changes
Parameters:
  recurse - traverse into subdirectories
Parameters:
  ignoreAncestry - ignore if files are not related
Parameters:
  dryRun - do not change anything
throws:
  ClientException -
since:
   1.2



mkdir
public void mkdir(String[] path, String message) throws ClientException(Code)
Creates a directory directly in a repository or creates a directory on disk and schedules it for addition.
Parameters:
  path - directories to be created
Parameters:
  message - commit message to used if path contains urls
exception:
  ClientException -



move
public void move(String srcPath, String destPath, String message, Revision revision, boolean force) throws ClientException(Code)
Moves or renames a file.
Parameters:
  srcPath - source path or url
Parameters:
  destPath - destination path or url
Parameters:
  message - commit message if destPath is an url
Parameters:
  revision - source revision
Parameters:
  force - even with local modifications.
exception:
  ClientException -
since:
   1.2



move
public void move(String srcPath, String destPath, String message, boolean force) throws ClientException(Code)
Moves or renames a file.
Parameters:
  srcPath - source path or url
Parameters:
  destPath - destination path or url
Parameters:
  message - commit message if destPath is an url
Parameters:
  force - even with local modifications.
throws:
  ClientException -



notification
public void notification(Notify notify)(Code)
Sets the notification callback used to send processing information back to the calling program.
Parameters:
  notify - listener that the SVN library should call on manyfile operations.



notification2
public void notification2(Notify2 notify)(Code)
Sets the notification callback used to send processing information back to the calling program.
Parameters:
  notify - listener that the SVN library should call on manyfile operations.
since:
   1.2



password
public void password(String password)(Code)
Sets the password used for authification.
Parameters:
  password - the password



properties
public PropertyData[] properties(String path) throws ClientException(Code)
Retrieves the properties of an item
Parameters:
  path - the path of the item array of property objects



properties
public PropertyData[] properties(String path, Revision revision) throws ClientException(Code)
Retrieves the properties of an item
Parameters:
  path - the path of the item
Parameters:
  revision - the revision of the item array of property objects
since:
   1.2



properties
public PropertyData[] properties(String path, Revision revision, Revision pegRevision) throws ClientException(Code)
Retrieves the properties of an item
Parameters:
  path - the path of the item
Parameters:
  revision - the revision of the item
Parameters:
  pegRevision - the revision to interpret path array of property objects
since:
   1.2



propertyCreate
public void propertyCreate(String path, String name, String value, boolean recurse) throws ClientException(Code)
Create and sets one property of an item with a String value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
throws:
  ClientException -



propertyCreate
public void propertyCreate(String path, String name, String value, boolean recurse, boolean force) throws ClientException(Code)
Create and sets one property of an item with a String value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
Parameters:
  force - do not check if the value is valid
throws:
  ClientException -
since:
   1.2



propertyCreate
public void propertyCreate(String path, String name, byte[] value, boolean recurse) throws ClientException(Code)
Create and sets one property of an item with a byte array value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
throws:
  ClientException -



propertyCreate
public void propertyCreate(String path, String name, byte[] value, boolean recurse, boolean force) throws ClientException(Code)
Create and sets one property of an item with a byte array value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
Parameters:
  force - do not check if the value is valid
throws:
  ClientException -
since:
   1.2



propertyGet
public PropertyData propertyGet(String path, String name) throws ClientException(Code)
Retrieve one property of one iten
Parameters:
  path - path of the item
Parameters:
  name - name of property the Property
throws:
  ClientException -



propertyGet
public PropertyData propertyGet(String path, String name, Revision revision) throws ClientException(Code)
Retrieve one property of one iten
Parameters:
  path - path of the item
Parameters:
  name - name of property
Parameters:
  revision - revision of the item the Property
throws:
  ClientException -
since:
   1.2



propertyGet
public PropertyData propertyGet(String path, String name, Revision revision, Revision pegRevision) throws ClientException(Code)
Retrieve one property of one iten
Parameters:
  path - path of the item
Parameters:
  name - name of property
Parameters:
  revision - revision of the item
Parameters:
  pegRevision - the revision to interpret path the Property
throws:
  ClientException -
since:
   1.2



propertyRemove
public void propertyRemove(String path, String name, boolean recurse) throws ClientException(Code)
Remove one property of an item.
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  recurse - remove the property also on subdirectories
throws:
  ClientException -



propertySet
public void propertySet(String path, String name, String value, boolean recurse) throws ClientException(Code)
Sets one property of an item with a String value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
throws:
  ClientException -



propertySet
public void propertySet(String path, String name, String value, boolean recurse, boolean force) throws ClientException(Code)
Sets one property of an item with a String value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
Parameters:
  force - do not check if the value is valid
throws:
  ClientException -
since:
   1.2



propertySet
public void propertySet(String path, String name, byte[] value, boolean recurse) throws ClientException(Code)
Sets one property of an item with a byte array value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
throws:
  ClientException -



propertySet
public void propertySet(String path, String name, byte[] value, boolean recurse, boolean force) throws ClientException(Code)
Sets one property of an item with a byte array value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
Parameters:
  force - do not check if the value is valid
throws:
  ClientException -
since:
   1.2



relocate
public void relocate(String from, String to, String path, boolean recurse) throws ClientException(Code)
Rewrite the url's in the working copy
Parameters:
  from - old url
Parameters:
  to - new url
Parameters:
  path - working copy path
Parameters:
  recurse - recurse into subdirectories
throws:
  ClientException -



remove
public void remove(String[] path, String message, boolean force) throws ClientException(Code)
Sets a file for deletion.
Parameters:
  path - path or url to be deleted
Parameters:
  message - if path is a url, this will be the commit message.
Parameters:
  force - delete even when there are local modifications.
exception:
  ClientException -



resolved
public void resolved(String path, boolean recurse) throws ClientException(Code)
Removes the 'conflicted' state on a file.
Parameters:
  path - path to cleanup
Parameters:
  recurse - recurce into subdirectories
exception:
  ClientException -



revProperties
public PropertyData[] revProperties(String path, Revision rev) throws ClientException(Code)
Retrieve all revsision properties of one item
Parameters:
  path - path of the item
Parameters:
  rev - revision to retrieve the Properties
throws:
  ClientException -
since:
   1.2



revProperty
public PropertyData revProperty(String path, String name, Revision rev) throws ClientException(Code)
Retrieve one revsision property of one item
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  rev - revision to retrieve the Property
throws:
  ClientException -



revert
public void revert(String path, boolean recurse) throws ClientException(Code)
Reverts a file to a pristine state.
Parameters:
  path - path of the file.
Parameters:
  recurse - recurse into subdirectories
exception:
  ClientException -



setConfigDirectory
public void setConfigDirectory(String configDir) throws ClientException(Code)
Set directory for the configuration information
Parameters:
  configDir - path of the directory
throws:
  ClientException -



setPrompt
public void setPrompt(PromptUserPassword prompt)(Code)
Register callback interface to supply username and password on demand
Parameters:
  prompt - the callback interface



setRevProperty
public void setRevProperty(String path, String name, Revision rev, String value, boolean force) throws ClientException(Code)
set one revsision property of one item
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  rev - revision to retrieve
Parameters:
  value - value of the property
Parameters:
  force -
throws:
  ClientException -
since:
   1.2



singleStatus
public Status singleStatus(String path, boolean onServer) throws ClientException(Code)
Returns the status of a single file in the path.
Parameters:
  path - File to gather status.
Parameters:
  onServer - Request status information from the server. the subversion status of the file.



status
public Status[] status(String path, boolean descend, boolean onServer, boolean getAll) throws ClientException(Code)
List a directory or file of the working copy.
Parameters:
  path - Path to explore.
Parameters:
  descend - Recurse into subdirectories if they exist.
Parameters:
  onServer - Request status information from server.
Parameters:
  getAll - get status for uninteristing files (unchanged). Array of Status entries.



status
public Status[] status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore) throws ClientException(Code)
List a directory or file of the working copy.
Parameters:
  path - Path to explore.
Parameters:
  descend - Recurse into subdirectories if they exist.
Parameters:
  onServer - Request status information from server.
Parameters:
  getAll - get status for uninteristing files (unchanged).
Parameters:
  noIgnore - get status for normaly ignored files and directories. Array of Status entries.



status
public Status[] status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals) throws ClientException(Code)
List a directory or file of the working copy.
Parameters:
  path - Path to explore.
Parameters:
  descend - Recurse into subdirectories if they exist.
Parameters:
  onServer - Request status information from server.
Parameters:
  getAll - get status for uninteristing files (unchanged).
Parameters:
  noIgnore - get status for normaly ignored files anddirectories.
Parameters:
  ignoreExternals - if externals are ignored during checkout Array of Status entries.
since:
   1.2



streamFileContent
public void streamFileContent(String path, Revision revision, Revision pegRevision, int bufferSize, OutputStream stream) throws ClientException(Code)
Write the file's content to the specified output stream.
Parameters:
  path - the path of the file
Parameters:
  revision - the revision to retrieve
Parameters:
  pegRevision - the revision at which to interpret the path
Parameters:
  the - stream to write the file's content to
throws:
  ClientException -



unlock
public void unlock(String[] path, boolean force) throws ClientException(Code)
Unlock a working copy item
Parameters:
  path - path of the item
Parameters:
  force - break an existing lock
throws:
  ClientException -
since:
   1.2



update
public long update(String path, Revision revision, boolean recurse) throws ClientException(Code)
Updates the directory or file from repository
Parameters:
  path - target file.
Parameters:
  revision - the revision number to update.Revision.HEAD will update to thelatest revision.
Parameters:
  recurse - recursively update.
exception:
  ClientException -



update
public long[] update(String[] path, Revision revision, boolean recurse, boolean ignoreExternals) throws ClientException(Code)
Updates the directories or files from repository
Parameters:
  path - array of target files.
Parameters:
  revision - the revision number to update.Revision.HEAD will update to thelatest revision.
Parameters:
  recurse - recursively update.
Parameters:
  ignoreExternals - if externals are ignored during update
exception:
  ClientException -
since:
   1.2



username
public void username(String username)(Code)
Sets the username used for authentification.
Parameters:
  username - the username



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.