Source Code Cross Referenced for LogMessage.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:        package org.tigris.subversion.javahl;
002:
003:        import java.util.Date;
004:
005:        /**
006:         * @copyright
007:         * ====================================================================
008:         * Copyright (c) 2003-2004 CollabNet.  All rights reserved.
009:         *
010:         * This software is licensed as described in the file COPYING, which
011:         * you should have received as part of this distribution.  The terms
012:         * are also available at http://subversion.tigris.org/license-1.html.
013:         * If newer versions of this license are posted there, you may use a
014:         * newer version instead, at your option.
015:         *
016:         * This software consists of voluntary contributions made by many
017:         * individuals.  For exact contribution history, see the revision
018:         * history and logs, available at http://subversion.tigris.org/.
019:         * ====================================================================
020:         * @endcopyright
021:         */
022:        /**
023:         * this class describes a single subversion revision with log message,
024:         * author and date
025:         */
026:        public class LogMessage {
027:            /**
028:             * the log message for the revision
029:             */
030:            private String message;
031:            /**
032:             * the date of the commit
033:             */
034:            private Date date;
035:            /**
036:             * the number of the revision
037:             */
038:            private long revision;
039:            /**
040:             * the author of the commit
041:             */
042:            private String author;
043:
044:            /**
045:             * the items changed by this commit (only set when
046:             * SVNClientInterface.logmessage is used with discoverPaths true.
047:             */
048:            private ChangePath[] changedPaths;
049:
050:            /**
051:             * this constructor is only called only from JNI code
052:             * @param m     the log message text
053:             * @param d     the date of the commit
054:             * @param r     the number of the revision
055:             * @param a     the author of the commit
056:             * @param cp    the items changed by this commit
057:             */
058:            LogMessage(String m, Date d, long r, String a, ChangePath[] cp) {
059:                message = m;
060:                date = d;
061:                revision = r;
062:                author = a;
063:                changedPaths = cp;
064:            }
065:
066:            /**
067:             * Return the log message text
068:             * @return the log message text
069:             */
070:            public String getMessage() {
071:                return message;
072:            }
073:
074:            /**
075:             * Returns the date of the commit
076:             * @return the date of the commit
077:             */
078:            public Date getDate() {
079:                return date;
080:            }
081:
082:            /**
083:             * Returns the revision as a Revision object
084:             * @return the revision number as a Revision object
085:             */
086:            public Revision.Number getRevision() {
087:                return Revision.createNumber(revision);
088:            }
089:
090:            /**
091:             * Returns the revision as a long  integer
092:             * @return the revision number as a long integer
093:             */
094:            public long getRevisionNumber() {
095:                return revision;
096:            }
097:
098:            /**
099:             * Returns the author of the commit
100:             * @return the author of the commit
101:             */
102:            public String getAuthor() {
103:                return author;
104:            }
105:
106:            /**
107:             * Returns the changes items by this commit
108:             * @return the changes items by this commit
109:             */
110:            public ChangePath[] getChangedPaths() {
111:                return changedPaths;
112:            }
113:
114:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.