net.sf.bloof.scm
Interface ScmRevision

All Known Implementing Classes:
Revision

public interface ScmRevision

Interface for a SCM Revision object

Version:
$Id: ScmRevision.java,v 1.6 2003/05/31 01:29:10 pekacki Exp $
Author:
Lukasz Pekacki

Method Summary
 int getAdded()
          Returns the numer of lines added in this revision
 java.lang.String getAuthor()
          Returns the login of the Author if this revision
 java.lang.String getComment()
          Returns the comment of the author to this revision
 java.util.Date getDate()
          Returns the Date when the revision was checked in into the SCM
 java.lang.String getFileName()
          Returns the filename of the file according to this revision
 FileState getFileState()
          Returns the state of the File at the moment of this revision
 java.lang.String getPath()
          Returns the path of the file according to this revision
 java.lang.String getQualifiedFilename()
          Returns a qualified file name ( including the path ) of the file according to this revision
 int getRemoved()
          Returns the numer of lines removed in this revision
 java.lang.String getRevisionName()
          Returns the identifier of this revision
 

Method Detail

getFileName

public java.lang.String getFileName()
Returns the filename of the file according to this revision

Returns:
String filename of the file according to this revision

getPath

public java.lang.String getPath()
Returns the path of the file according to this revision

Returns:
String path of the file according to this revision

getRevisionName

public java.lang.String getRevisionName()
Returns the identifier of this revision

Returns:
String of the Revision identifier ( e.g. 1.1.2 )

getDate

public java.util.Date getDate()
Returns the Date when the revision was checked in into the SCM

Returns:
Date when the revision was checked in into the SCM

getAuthor

public java.lang.String getAuthor()
Returns the login of the Author if this revision

Returns:
String login of the Author if this revision

getAdded

public int getAdded()
Returns the numer of lines added in this revision

Returns:
int number of lines added in this revision

getRemoved

public int getRemoved()
Returns the numer of lines removed in this revision

Returns:
int number of lines removed in this revision

getComment

public java.lang.String getComment()
Returns the comment of the author to this revision

Returns:
String comment of the author about the changes in this revision

getQualifiedFilename

public java.lang.String getQualifiedFilename()
Returns a qualified file name ( including the path ) of the file according to this revision

Returns:
qualified file name ( including the path ) of the file according to this revision

getFileState

public FileState getFileState()
Returns the state of the File at the moment of this revision

Returns:
FileState the state of the File at the moment of this revision


Copyright © 2003 bloof@Sourceforge. All Rights Reserved.