Package de.bmiag.tapir.execution.plan
Class ExecutionFilterManager
- java.lang.Object
-
- de.bmiag.tapir.execution.plan.ExecutionFilterManager
-
@Component("tapirExecutionFilterManager") public class ExecutionFilterManager extends java.lang.Object
TheExecutionFilterManager
asks each registeredExecutionFilter
if a test suite, class or step should be filtered. If any execution filter answers true, the other execution filters are not asked anymore.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Constructor Summary
Constructors Constructor Description ExecutionFilterManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldFilterClass(TestClass testClass, java.lang.Object testInstance)
Asks the registeredexecution filters
if the given testClass should be filtered.boolean
shouldFilterStep(TestStep testStep, java.lang.Object testInstance)
Asks the registeredexecution filters
if the given testStep should be filtered.boolean
shouldFilterSuite(TestSuite testSuite, java.lang.Object testInstance)
Asks the registeredexecution filters
if the given testSuite should be filtered.
-
-
-
Method Detail
-
shouldFilterSuite
public boolean shouldFilterSuite(TestSuite testSuite, java.lang.Object testInstance)
Asks the registeredexecution filters
if the given testSuite should be filtered.- Parameters:
testSuite
- the test suite which might be filteredtestInstance
- the test suite instance- Returns:
- true, if any filter returns true, otherwise false
- Since:
- 2.0.0
-
shouldFilterClass
public boolean shouldFilterClass(TestClass testClass, java.lang.Object testInstance)
Asks the registeredexecution filters
if the given testClass should be filtered.- Parameters:
testClass
- the test class which might be filteredtestInstance
- the test class instance- Returns:
- true, if any filter returns true, otherwise false
- Since:
- 2.0.0
-
shouldFilterStep
public boolean shouldFilterStep(TestStep testStep, java.lang.Object testInstance)
Asks the registeredexecution filters
if the given testStep should be filtered.- Parameters:
testStep
- the test step which might be filteredtestInstance
- the test class instance- Returns:
- true, if any filter returns true, otherwise false
- Since:
- 2.0.0
-
-