Class RestApiComparatorExclusion
java.lang.Object
org.bremersee.spring.test.api.comparator.RestApiComparatorExclusion
The rest api tester exclusion.
- Author:
- Christian Bremer
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new rest api tester exclusion. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisExcluded(RestApiComparatorPath path, RestApiComparatorAssertionType type, RestApiComparatorExclusion[] exclusions) Checks whether the given path and type are excluded via the given exclusions.
-
Constructor Details
-
RestApiComparatorExclusion
Instantiates a new rest api tester exclusion.- Parameters:
path- the pathtype- the type
-
-
Method Details
-
isExcluded
public static boolean isExcluded(RestApiComparatorPath path, RestApiComparatorAssertionType type, RestApiComparatorExclusion[] exclusions) Checks whether the given path and type are excluded via the given exclusions.- Parameters:
path- the pathtype- the typeexclusions- the exclusions- Returns:
- the boolean
-