View Javadoc
1 /* 2 Bloof - visualize the evolution of your software project 3 Copyright ( C ) 2003 Lukasz Pekacki <lukasz@pekacki.de> 4 http://bloof.sf.net/ 5 6 This program is free software; you can redistribute it and/or modify it 7 under the terms of the GNU General Public License. 8 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU General Public License for more details. 13 14 You should have received a copy of the GNU General Public License along with 15 this program; if not, write to the Free Software Foundation, Inc., 16 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 18 $RCSfile: ScmRevision.java,v $ 19 Created on $Date: 2003/05/31 01:29:10 $ 20 */ 21 package net.sf.bloof.scm; 22 23 import java.util.Date; 24 25 /*** 26 * Interface for a SCM Revision object 27 * @author Lukasz Pekacki <pekacki@users.sourceforge.net> 28 * @version $Id: ScmRevision.java,v 1.6 2003/05/31 01:29:10 pekacki Exp $ 29 */ 30 public interface ScmRevision { 31 /*** 32 * Returns the filename of the file according to this revision 33 * @return String filename of the file according to this revision 34 */ 35 String getFileName( ); 36 37 /*** 38 * Returns the path of the file according to this revision 39 * @return String path of the file according to this revision 40 */ 41 String getPath( ); 42 43 /*** 44 * Returns the identifier of this revision 45 * @return String of the Revision identifier ( e.g. 1.1.2 ) 46 */ 47 String getRevisionName( ); 48 49 /*** 50 * Returns the Date when the revision was checked in into the SCM 51 * @return Date when the revision was checked in into the SCM 52 */ 53 Date getDate( ); 54 55 /*** 56 * Returns the login of the Author if this revision 57 * @return String login of the Author if this revision 58 */ 59 String getAuthor( ); 60 61 /*** 62 * Returns the numer of lines added in this revision 63 * @return int number of lines added in this revision 64 */ 65 int getAdded( ); 66 67 /*** 68 * Returns the numer of lines removed in this revision 69 * @return int number of lines removed in this revision 70 */ 71 int getRemoved( ); 72 73 /*** 74 * Returns the comment of the author to this revision 75 * @return String comment of the author about the changes in this revision 76 */ 77 String getComment( ); 78 79 /*** 80 * Returns a qualified file name ( including the path ) of the file according to this revision 81 * @return qualified file name ( including the path ) of the file according to this revision 82 */ 83 String getQualifiedFilename( ); 84 /*** 85 * Returns the state of the File at the moment of this revision 86 * @return FileState the state of the File at the moment of this revision 87 */ 88 FileState getFileState( ); 89 }

This page was automatically generated by Maven