@Component(value="tapirJUnitFilterSupplier") public class JUnitFilterSupplier extends Object implements Supplier<org.junit.runner.manipulation.Filter>
Filter
. The filter is passed to TapirJUnitBootstrapper.filter(Filter)
and is not present when the
tapir application is bootstrapped. Therefore we need this Supplier
in order to provide the filter instance lazily.Constructor and Description |
---|
JUnitFilterSupplier() |
Modifier and Type | Method and Description |
---|---|
org.junit.runner.manipulation.Filter |
get()
Returns the filter
|
void |
set(org.junit.runner.manipulation.Filter filter)
Sets the filter.
|
public void set(org.junit.runner.manipulation.Filter filter)
filter
- the filter to useNullPointerException
- thrown if filter is nullpublic org.junit.runner.manipulation.Filter get()
get
in interface Supplier<org.junit.runner.manipulation.Filter>
IllegalStateException
- thrown if no filter is setCopyright © 2018 b+m Informatik AG. All rights reserved.