Package org.junit.runner
Interface FilterFactory
- All Known Implementing Classes:
ExcludeCategories
,IncludeCategories
public interface FilterFactory
Extend this class to create a factory that createsFilter
.
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FilterFactory.FilterNotCreatedException
Exception thrown if theFilter
cannot be created.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Filter
createFilter(FilterFactoryParams params)
Creates aFilter
given aFilterFactoryParams
argument.
Method Detail
createFilter
Filter createFilter(FilterFactoryParams params) throws FilterFactory.FilterNotCreatedException
Creates aFilter
given aFilterFactoryParams
argument.- Parameters:
params
- Parameters needed to create theFilter
- Throws:
FilterFactory.FilterNotCreatedException