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

SVNCommitItem
public class SVNCommitItem (Code)
The SVNCommitItem represents a versioned item that is to be committed to a repository.

Used to wrap information about a versioned item into a single object. A commit item can represent either a Working Copy item (speaking of committing local changes in WC files and directories) or one that is located in a repository (for example, when deleting a file/directory right from a repository).

When you call SVNCommitClient's SVNCommitClient.doCollectCommitItems(File[]booleanbooleanboolean) doCollectCommitItems() this methods processes the specified paths and collects information on items to be committed in SVNCommitItem objects which are packed into a single SVNCommitPacket object. This object is returned by the method to the caller.
version:
   1.1.1
author:
   TMate Software Ltd.
See Also:   SVNCommitPacket




Constructor Summary
public  SVNCommitItem(File file, SVNURL URL, SVNURL copyFromURL, SVNNodeKind kind, SVNRevision revision, SVNRevision copyFromRevision, boolean isAdded, boolean isDeleted, boolean isPropertiesModified, boolean isContentsModified, boolean isCopied, boolean locked)
     Constructs and initializes an SVNCommitItem object.

Method Summary
public  SVNRevisiongetCopyFromRevision()
     Gets the revision of the versioned item's ancestor from which the item was copied.
public  SVNURLgetCopyFromURL()
     Gets the repository location of the versioned item's ancestor from which the item was copied.
public  FilegetFile()
     Gets the location of the Working Copy item.
public  SVNNodeKindgetKind()
     Gets the node kind of the versioned item.
public  StringgetPath()
     Gets the item's relevant path.
public  SVNRevisiongetRevision()
     Gets the revision of the versioned item .
public  SVNURLgetURL()
     Gets the versioned item's repository location.
public  SVNWCAccessgetWCAccess()
     This method is not intended for users (from an API point of view).
public  booleanisAdded()
     Determines if the item is to be added to version control.
public  booleanisContentsModified()
     Determines if the Working Copy item has local edits to its contents.
public  booleanisCopied()
     Determines if the item is to be added to version control with history.
public  booleanisDeleted()
     Determines if the item is to be deleted from version control.
public  booleanisLocked()
     Determines whether the item needs to be locked.
public  booleanisPropertiesModified()
     Determines if the Working Copy item has local edits to properties.
public  voidsetPath(String path)
     Sets the item's relevant path.
 voidsetWCAccess(SVNWCAccess wcAccess)
    


Constructor Detail
SVNCommitItem
public SVNCommitItem(File file, SVNURL URL, SVNURL copyFromURL, SVNNodeKind kind, SVNRevision revision, SVNRevision copyFromRevision, boolean isAdded, boolean isDeleted, boolean isPropertiesModified, boolean isContentsModified, boolean isCopied, boolean locked)(Code)
Constructs and initializes an SVNCommitItem object.
Parameters:
  file - a WC item's location
Parameters:
  URL - the item's repository location
Parameters:
  copyFromURL - the repository location of the item's ancestor(if the item was or to be copied)
Parameters:
  kind - the item's node kind
Parameters:
  revision - the item's revision
Parameters:
  copyFromRevision - the revision of the item's ancestor it's copied from
Parameters:
  isAdded - true if the item is to be added to version control, otherwisefalse
Parameters:
  isDeleted - true if the item is to be deleted from version control, otherwisefalse
Parameters:
  isPropertiesModified - true if the item's properties have local changes, otherwisefalse
Parameters:
  isContentsModified - true if the item's contents (file contents or directory entries) have local changes, otherwise false
Parameters:
  isCopied - true if the item is to be added to version control with history, otherwise false
Parameters:
  locked - true if the item is to be locked, otherwisefalse




Method Detail
getCopyFromRevision
public SVNRevision getCopyFromRevision()(Code)
Gets the revision of the versioned item's ancestor from which the item was copied. the revision the item was copied from



getCopyFromURL
public SVNURL getCopyFromURL()(Code)
Gets the repository location of the versioned item's ancestor from which the item was copied. the URL of the copy source in an org.tmatesoft.svn.core.SVNURLrepresentation



getFile
public File getFile()(Code)
Gets the location of the Working Copy item. the item's local path



getKind
public SVNNodeKind getKind()(Code)
Gets the node kind of the versioned item. the item's node kind



getPath
public String getPath()(Code)
Gets the item's relevant path. The path is relevant to the Working Copy root. the item's relevant path



getRevision
public SVNRevision getRevision()(Code)
Gets the revision of the versioned item . For a WC item it is the current working revision. the revision of the item to be committed



getURL
public SVNURL getURL()(Code)
Gets the versioned item's repository location. the item's URL pointing to its repository location



getWCAccess
public SVNWCAccess getWCAccess()(Code)
This method is not intended for users (from an API point of view). wc access object



isAdded
public boolean isAdded()(Code)
Determines if the item is to be added to version control. true if added, otherwise false



isContentsModified
public boolean isContentsModified()(Code)
Determines if the Working Copy item has local edits to its contents. If the item is a file - that is the file contents, a directory - the directory contents (meaning entries). true if the contents have local changes, otherwise false



isCopied
public boolean isCopied()(Code)
Determines if the item is to be added to version control with history. true if added withhistory (copied in other words), otherwise false



isDeleted
public boolean isDeleted()(Code)
Determines if the item is to be deleted from version control. true if deleted, otherwise false



isLocked
public boolean isLocked()(Code)
Determines whether the item needs to be locked. true if locked, otherwise false



isPropertiesModified
public boolean isPropertiesModified()(Code)
Determines if the Working Copy item has local edits to properties. true if the properties have local changes, otherwise false



setPath
public void setPath(String path)(Code)
Sets the item's relevant path.
Parameters:
  path - the item's path relevant to the Working Copy root



setWCAccess
void setWCAccess(SVNWCAccess wcAccess)(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.