| Modifier and Type | Field and Description |
|---|---|
protected ApiDefinition |
apiDefinition |
protected String |
apiName |
protected Set<Predicate<T>> |
matchers
We use
Predicate here as the min JDK version is 1.7. |
| Constructor and Description |
|---|
AbstractApiMatcher(ApiDefinition apiDefinition) |
| Modifier and Type | Method and Description |
|---|---|
ApiDefinition |
getApiDefinition() |
String |
getApiName() |
protected abstract void |
initializeMatchers()
Initialize the matchers.
|
boolean |
test(T t) |
protected final String apiName
protected final ApiDefinition apiDefinition
public AbstractApiMatcher(ApiDefinition apiDefinition)
Copyright © 2021 Alibaba Group. All rights reserved.