Source Code Cross Referenced for CommitItem.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 Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * @copyright
003:         * ====================================================================
004:         * Copyright (c) 2003-2004 CollabNet.  All rights reserved.
005:         *
006:         * This software is licensed as described in the file COPYING, which
007:         * you should have received as part of this distribution.  The terms
008:         * are also available at http://subversion.tigris.org/license-1.html.
009:         * If newer versions of this license are posted there, you may use a
010:         * newer version instead, at your option.
011:         *
012:         * This software consists of voluntary contributions made by many
013:         * individuals.  For exact contribution history, see the revision
014:         * history and logs, available at http://subversion.tigris.org/.
015:         * ====================================================================
016:         * @endcopyright
017:         */package org.tigris.subversion.javahl;
018:
019:        /**
020:         * this class describes a item which will be commited.
021:         */
022:        public class CommitItem {
023:            /**
024:             * the pathname of the item to be commit
025:             */
026:            String path;
027:            /**
028:             * the kind node (file or directory)
029:             */
030:            int nodeKind;
031:            /**
032:             * the kind of change to be commited (See CommitItemStateFlages)
033:             */
034:            int stateFlags;
035:            /**
036:             * the url of the item
037:             */
038:            String url;
039:            /**
040:             * the source of the copy
041:             */
042:            String copyUrl;
043:            /**
044:             * the revision
045:             */
046:            long revision;
047:
048:            /**
049:             * This constructor will be only called from the jni code.
050:             * @param p     path to the commit item
051:             * @param nk    kind of node (see NodeKind)
052:             * @param sf    state flags (see StateFlags)
053:             * @param u     url of the item
054:             * @param cu    copy source url
055:             * @param r     revision number
056:             */
057:            CommitItem(String p, int nk, int sf, String u, String cu, long r) {
058:                path = p;
059:                nodeKind = nk;
060:                stateFlags = sf;
061:                url = u;
062:                copyUrl = cu;
063:                revision = r;
064:            }
065:
066:            /**
067:             *  retrieve the path of the commit item
068:             * @return the path.
069:             */
070:            public String getPath() {
071:                return path;
072:            }
073:
074:            /**
075:             * return the node kind of the commit item
076:             * @return the node kind. Look at the NodeKind class.
077:             */
078:            public int getNodeKind() {
079:                return nodeKind;
080:            }
081:
082:            /**
083:             * return the kind of change for the commit item.
084:             * @return  the state flags. Look at the CommitItemStateFlags interface.
085:             */
086:            public int getStateFlags() {
087:                return stateFlags;
088:            }
089:
090:            /**
091:             * the class for the commit item state flags. The values are ored together
092:             * the values are CommitItemStateFlags for building reasons.
093:             */
094:            public static class StateFlags implements  CommitItemStateFlags {
095:            }
096:
097:            /**
098:             * Returns the url of the item
099:             * @return url
100:             */
101:            public String getUrl() {
102:                return url;
103:            }
104:
105:            /**
106:             * Returns the source url if the item is copied
107:             * @return source url
108:             */
109:            public String getCopyUrl() {
110:                return copyUrl;
111:            }
112:
113:            /**
114:             * Returns the revision number
115:             * @return revision number
116:             */
117:            public long getRevision() {
118:                return revision;
119:            }
120:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.