Class IgnoreDifferenceTransform
java.lang.Object
org.revapi.basic.AbstractDifferenceReferringTransform
org.revapi.basic.DifferencesTransform
org.revapi.basic.IgnoreDifferenceTransform
- All Implemented Interfaces:
AutoCloseable
,org.revapi.configuration.Configurable
,org.revapi.DifferenceTransform
Deprecated.
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
Nested classes/interfaces inherited from interface org.revapi.DifferenceTransform
org.revapi.DifferenceTransform.TraversalTracker<E extends org.revapi.Element<E>>
-
Field Summary
Fields inherited from class org.revapi.basic.AbstractDifferenceReferringTransform
analysisContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Deprecated.Deprecated.protected com.fasterxml.jackson.databind.JsonNode
Deprecated.protected DifferencesTransform.DifferenceRecipe
newRecipe
(com.fasterxml.jackson.databind.JsonNode config) Deprecated.Methods inherited from class org.revapi.basic.AbstractDifferenceReferringTransform
endTraversal, getDifferenceCodePatterns, getDifferenceCodePredicates, getExtensionId, initialize, startTraversal, tryTransform
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.revapi.DifferenceTransform
transform
-
Constructor Details
-
IgnoreDifferenceTransform
public IgnoreDifferenceTransform()Deprecated.
-
-
Method Details
-
getRecipesConfigurationAndInitialize
protected com.fasterxml.jackson.databind.JsonNode getRecipesConfigurationAndInitialize()Deprecated.- Overrides:
getRecipesConfigurationAndInitialize
in classDifferencesTransform
- Returns:
- a list node where the difference recipes are stored
-
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
-
DifferencesTransform