KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > internal > ccvs > core > ILogEntry


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.team.internal.ccvs.core;
12
13
14 import java.util.Date JavaDoc;
15
16 import org.eclipse.core.runtime.IAdaptable;
17
18 /**
19  * Instances of ILogEntry represent an entry for a CVS file that results
20  * from the cvs log command.
21  *
22  * Clients are not expected to implement this interface
23  */

24 public interface ILogEntry extends IAdaptable {
25
26     /**
27      * Get the revision for the entry
28      */

29     public String JavaDoc getRevision();
30     
31     /**
32      * Get the author of the revision
33      */

34     public String JavaDoc getAuthor();
35     
36     /**
37      * Get the date the revision was committed
38      */

39     public Date JavaDoc getDate();
40     
41     /**
42      * Get the comment for the revision
43      */

44     public String JavaDoc getComment();
45     
46     /**
47      * Get the state
48      */

49     public String JavaDoc getState();
50     
51     /**
52      * Get the tags associated with the revision
53      */

54     public CVSTag[] getTags();
55     
56     /**
57      * Get the remote file for this entry
58      */

59     public ICVSRemoteFile getRemoteFile();
60     
61     /**
62      * Does the log entry represent a deletion (stat = "dead")
63      */

64     public boolean isDeletion();
65 }
66
67
Popular Tags