org.apache.tools.ant.taskdefs.optional.sitraka

Class Filters

public class Filters extends Object

Filters information from coverage, somewhat similar to a FileSet.
Nested Class Summary
static classFilters.Exclude
abstract static classFilters.FilterElement
an includes or excludes element
static classFilters.Include
Field Summary
protected booleandefaultExclude
say whether we should use the default excludes or not
static StringDEFAULT_EXCLUDE
default regexp to exclude everything
protected Vectorfilters
user defined filters
Constructor Summary
Filters()
Method Summary
voidaddExclude(Filters.Exclude excl)
exclude classes and methods from the analysis
voidaddInclude(Filters.Include incl)
include classes and methods in the analysis
voidsetDefaultExclude(boolean value)
Automatically exclude all classes and methods unless included in nested elements; optional, default true.
StringtoString()

Field Detail

defaultExclude

protected boolean defaultExclude
say whether we should use the default excludes or not

DEFAULT_EXCLUDE

public static final String DEFAULT_EXCLUDE
default regexp to exclude everything

filters

protected Vector filters
user defined filters

Constructor Detail

Filters

public Filters()

Method Detail

addExclude

public void addExclude(Filters.Exclude excl)
exclude classes and methods from the analysis

addInclude

public void addInclude(Filters.Include incl)
include classes and methods in the analysis

setDefaultExclude

public void setDefaultExclude(boolean value)
Automatically exclude all classes and methods unless included in nested elements; optional, default true.

toString

public String toString()
Copyright