1 /*******************************************************************************
2  * Copyright (c) 2000, 2011 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *     Olexiy Buyanskyy <olexiyb@gmail.com> - Bug 76386 - [History View] CVS Resource History shows revisions from all branches
14  *******************************************************************************/
15 package org.eclipse.team.internal.ccvs.core;
16 
17 
18 import java.util.Date;
19 
20 import org.eclipse.core.runtime.IAdaptable;
21 
22 /**
23  * Instances of ILogEntry represent an entry for a CVS file that results
24  * from the cvs log command.
25  *
26  * Clients are not expected to implement this interface
27  */
28 public interface ILogEntry extends IAdaptable {
29 
30 	/**
31 	 * Get the revision for the entry
32 	 */
getRevision()33 	public String getRevision();
34 
35 	/**
36 	 * Get the author of the revision
37 	 */
getAuthor()38 	public String getAuthor();
39 
40 	/**
41 	 * Get the date the revision was committed
42 	 */
getDate()43 	public Date getDate();
44 
45 	/**
46 	 * Get the comment for the revision
47 	 */
getComment()48 	public String getComment();
49 
50 	/**
51 	 * Get the state
52 	 */
getState()53 	public String getState();
54 
55 	/**
56 	 * Get the branches revision belong to.
57 	 */
getBranches()58 	public CVSTag[] getBranches();
59 
60 	/**
61 	 * Get the tags associated with the revision
62 	 */
getTags()63 	public CVSTag[] getTags();
64 
65 	/**
66 	 * Get the remote file for this entry
67 	 */
getRemoteFile()68 	public ICVSRemoteFile getRemoteFile();
69 
70 	/**
71 	 * Does the log entry represent a deletion (stat = "dead")
72 	 */
isDeletion()73 	public boolean isDeletion();
74 }
75 
76