net.sf.statcvs.model
Class UserPredicate

java.lang.Object
  |
  +--net.sf.statcvs.model.UserPredicate
All Implemented Interfaces:
RevisionPredicate

public class UserPredicate
extends java.lang.Object
implements RevisionPredicate

Filter for Usernames filters revisions that meet a given set of usernames

Version:
$Id: UserPredicate.java,v 1.9 2003/04/19 21:52:28 cyganiak Exp $
Author:
Lukasz Pekacki

Constructor Summary
UserPredicate(Author author)
          Constructor UserPredicate.
 
Method Summary
 boolean meets(CvsRevision rev)
          Filters revisions that meet a given set of usernames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserPredicate

public UserPredicate(Author author)
Constructor UserPredicate.

Parameters:
author - the author to filter for
Method Detail

meets

public boolean meets(CvsRevision rev)
Filters revisions that meet a given set of usernames

Specified by:
meets in interface RevisionPredicate
Parameters:
rev - Revision to with the predicate is applied
Returns:
boolean TRUE if the Revsion satisfies the predicate, else FALSE
See Also:
RevisionPredicate.meets(CvsRevision)