Package org.revapi.basic
Class IgnoreDifferenceTransform
- java.lang.Object
-
- org.revapi.basic.AbstractDifferenceReferringTransform<E>
-
- org.revapi.basic.DifferencesTransform
-
- org.revapi.basic.IgnoreDifferenceTransform
-
- All Implemented Interfaces:
AutoCloseable
,org.revapi.configuration.Configurable
,org.revapi.DifferenceTransform
@Deprecated public class IgnoreDifferenceTransform extends DifferencesTransform
Deprecated.This is superseded byDifferencesTransform
A generic difference transform that can ignore differences based on the difference code (Difference.code
) and on the old or new elements' full human representations (Element.getFullHumanReadableString()
) or result of comparing using specified matcher.See
META-INF/ignore-schema.json
for the JSON schema of the configuration.- Since:
- 0.1
- Author:
- Lukas Krejci
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.revapi.basic.DifferencesTransform
DifferencesTransform.DifferenceRecipe
-
-
Field Summary
-
Fields inherited from class org.revapi.basic.AbstractDifferenceReferringTransform
analysisContext
-
-
Constructor Summary
Constructors Constructor Description IgnoreDifferenceTransform()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.Reader
getJSONSchema()
Deprecated.protected com.fasterxml.jackson.databind.JsonNode
getRecipesConfigurationAndInitialize()
Deprecated.protected DifferencesTransform.DifferenceRecipe
newRecipe(com.fasterxml.jackson.databind.JsonNode config)
Deprecated.-
Methods inherited from class org.revapi.basic.AbstractDifferenceReferringTransform
endTraversal, getDifferenceCodePatterns, getExtensionId, initialize, startTraversal, tryTransform
-
-
-
-
Method Detail
-
getRecipesConfigurationAndInitialize
protected com.fasterxml.jackson.databind.JsonNode getRecipesConfigurationAndInitialize()
Deprecated.- Overrides:
getRecipesConfigurationAndInitialize
in classDifferencesTransform
- Returns:
- a list node where the difference recipes are stored
-
getJSONSchema
@Nullable public Reader getJSONSchema()
Deprecated.- Specified by:
getJSONSchema
in interfaceorg.revapi.configuration.Configurable
- Overrides:
getJSONSchema
in classDifferencesTransform
-
newRecipe
@Nonnull protected DifferencesTransform.DifferenceRecipe newRecipe(com.fasterxml.jackson.databind.JsonNode config)
Deprecated.- Overrides:
newRecipe
in classDifferencesTransform
-
close
public void close()
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classDifferencesTransform
-
-