DifferencesTransform@Deprecated public class IgnoreDifferenceTransform extends DifferencesTransform
Difference.code) and on the old or new elements' full human representations
(Element.getFullHumanReadableString()).
The transform is configured using properties in the general form of:
{
"revapi" : {
"ignore" : [
{
"regex" : false,
"code" : "PROBLEM_CODE",
"old" : "FULL_REPRESENTATION_OF_THE_OLD_ELEMENT",
"new" : "FULL_REPRESENTATION_OF_THE_NEW_ELEMENT",
"justification": "blah"
},
...
]
}
}
The code is mandatory (obviously). The old and new properties are optional and the rule will
match when all the specified properties of it match. If regex attribute is "true" (defaults to "false"), all the
code, old and new are understood as regexes (java regexes, not javascript ones).DifferencesTransform.DifferenceRecipeanalysisContext| Constructor and Description |
|---|
IgnoreDifferenceTransform()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
Reader |
getJSONSchema()
Deprecated.
|
protected org.jboss.dmr.ModelNode |
getRecipesConfigurationAndInitialize()
Deprecated.
|
protected DifferencesTransform.DifferenceRecipe |
newRecipe(org.jboss.dmr.ModelNode config)
Deprecated.
|
getDifferenceCodePatterns, getExtensionId, initialize, transformprotected org.jboss.dmr.ModelNode getRecipesConfigurationAndInitialize()
getRecipesConfigurationAndInitialize in class DifferencesTransform@Nullable public Reader getJSONSchema()
getJSONSchema in interface org.revapi.configuration.ConfigurablegetJSONSchema in class DifferencesTransform@Nonnull protected DifferencesTransform.DifferenceRecipe newRecipe(org.jboss.dmr.ModelNode config)
newRecipe in class DifferencesTransformpublic void close()
close in interface AutoCloseableclose in class DifferencesTransformCopyright © 2014-2020 Lukas Krejci. All Rights Reserved.