org.apache.tools.ant.taskdefs.optional.sitraka
Class ReportFilters
java.lang.Object
|
+--org.apache.tools.ant.taskdefs.optional.sitraka.ReportFilters
- public class ReportFilters
- extends java.lang.Object
Filters information from coverage, somewhat similar to a FileSet.
- Author:
- Stephane Bailliez
Field Summary |
protected java.util.Vector |
filters
user defined filters |
protected java.util.Vector |
matchers
cached matcher for each filter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filters
protected java.util.Vector filters
- user defined filters
matchers
protected java.util.Vector matchers
- cached matcher for each filter
ReportFilters
public ReportFilters()
addInclude
public void addInclude(ReportFilters.Include incl)
addExclude
public void addExclude(ReportFilters.Exclude excl)
size
public int size()
accept
public boolean accept(java.lang.String methodname)
- Check whether a given <classname><method>() is accepted by the list
of filters or not.
- Parameters:
methodname
- the full method name in the format <classname><method>()
createMatchers
protected void createMatchers()
- should be called only once to cache matchers
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.