public class ConfigurableElementFilter extends Object implements ElementFilter
{
"revapi" : {
"filter" : {
"include" : ["REGEX_ON_ELEMENT_FULL_REPRESENTATIONS", "ANOTHER_REGEX_ON_ELEMENT_FULL_REPRESENTATIONS"],
"exclude" : ["REGEX_ON_ELEMENT_FULL_REPRESENTATIONS", "ANOTHER_REGEX_ON_ELEMENT_FULL_REPRESENTATIONS"]
}
}
}
If no include or exclude filters are defined, everything is included. If at least 1 include filter is defined, only elements matching it are included. Out of the included elements, some may be further excluded by the exclude filters.
| Constructor and Description |
|---|
ConfigurableElementFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(Element element) |
void |
close() |
String[] |
getConfigurationRootPaths() |
Reader |
getJSONSchema(String configurationRootPath) |
void |
initialize(AnalysisContext analysisContext) |
boolean |
shouldDescendInto(Object element) |
@Nullable public String[] getConfigurationRootPaths()
getConfigurationRootPaths in interface Configurable@Nullable public Reader getJSONSchema(@Nonnull String configurationRootPath)
getJSONSchema in interface Configurablepublic void initialize(@Nonnull AnalysisContext analysisContext)
initialize in interface Configurablepublic boolean shouldDescendInto(@Nullable Object element)
shouldDescendInto in interface Filter<Element>public void close()
close in interface AutoCloseableCopyright © 2015. All Rights Reserved.