org.gitective.core.filter.commit
Class AuthorSetFilter

java.lang.Object
  extended by org.eclipse.jgit.revwalk.filter.RevFilter
      extended by org.gitective.core.filter.commit.CommitFilter
          extended by org.gitective.core.filter.commit.PersonSetFilter
              extended by org.gitective.core.filter.commit.AuthorSetFilter
All Implemented Interfaces:
Cloneable

public class AuthorSetFilter
extends PersonSetFilter

Filter that collects author PersonIdent objects for each commit visited.


Field Summary
 
Fields inherited from class org.gitective.core.filter.commit.PersonSetFilter
persons
 
Fields inherited from class org.gitective.core.filter.commit.CommitFilter
repository
 
Fields inherited from class org.eclipse.jgit.revwalk.filter.RevFilter
ALL, MERGE_BASE, NO_MERGES, NONE
 
Constructor Summary
AuthorSetFilter()
           
 
Method Summary
 org.eclipse.jgit.revwalk.filter.RevFilter clone()
          Clones this filter.
protected  org.eclipse.jgit.lib.PersonIdent getPerson(org.eclipse.jgit.revwalk.RevCommit commit)
          Get the person from the commit to include in set
 
Methods inherited from class org.gitective.core.filter.commit.PersonSetFilter
getPersons, include, reset
 
Methods inherited from class org.gitective.core.filter.commit.CommitFilter
include, setRepository, setStop
 
Methods inherited from class org.eclipse.jgit.revwalk.filter.RevFilter
negate, requiresCommitBody, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthorSetFilter

public AuthorSetFilter()
Method Detail

getPerson

protected org.eclipse.jgit.lib.PersonIdent getPerson(org.eclipse.jgit.revwalk.RevCommit commit)
Description copied from class: PersonSetFilter
Get the person from the commit to include in set

Specified by:
getPerson in class PersonSetFilter
Returns:
person

clone

public org.eclipse.jgit.revwalk.filter.RevFilter clone()
Description copied from class: CommitFilter
Clones this filter.

The default implementation throws a UnsupportedOperationException and sub-classes should override if filter cloning is supported.

Overrides:
clone in class CommitFilter
See Also:
RevFilter.clone()


Copyright © 2011-2012. All Rights Reserved.