001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package org.apache.commons.vfs.operations.vcs;
018:
019: import java.util.Calendar;
020:
021: /**
022: * todo: add class description here
023: *
024: * @author Siarhei Baidun
025: * @since 0.1
026: */
027: public class VcsLogEntry {
028: /**
029: *
030: */
031: private String author;
032:
033: /**
034: * Revision.
035: */
036: private long revision;
037:
038: /**
039: * Message.
040: */
041: private String message;
042:
043: /**
044: * Date.
045: */
046: private Calendar date;
047:
048: /**
049: * Path.
050: */
051: private String path;
052:
053: /**
054: *
055: * @param revision
056: * @param message
057: * @param date
058: * @param path
059: */
060: public VcsLogEntry(final String author, final long revision,
061: final String message, final Calendar date, final String path) {
062: this .author = author;
063: this .revision = revision;
064: this .message = message;
065: this .date = date;
066: this .path = path;
067: }
068:
069: /**
070: *
071: * @return
072: */
073: public String getAuthor() {
074: return author;
075: }
076:
077: /**
078: *
079: * @return
080: */
081: public long getRevision() {
082: return revision;
083: }
084:
085: /**
086: *
087: * @return
088: */
089: public String getMessage() {
090: return message;
091: }
092:
093: /**
094: *
095: * @return
096: */
097: public Calendar getDate() {
098: return date;
099: }
100:
101: /**
102: *
103: * @return
104: */
105: public String getPath() {
106: return path;
107: }
108: }
|