BaseDifferenceTransform
instead@Deprecated public abstract class SimpleDifferenceTransform<T extends Element<T>> extends SimpleConfigurable implements DifferenceTransform<T>
DifferenceTransform.TraversalTracker<E extends Element<E>>
Constructor and Description |
---|
SimpleDifferenceTransform()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Pattern[] |
getDifferenceCodePatterns()
Deprecated.
|
Difference |
transform(T oldElement,
T newElement,
Difference difference)
Deprecated.
Returns a transformed version of the difference.
|
close, getJSONSchema, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endTraversal, startTraversal, tryTransform
close
getExtensionId, getJSONSchema, initialize
@Nonnull public Pattern[] getDifferenceCodePatterns()
getDifferenceCodePatterns
in interface DifferenceTransform<T extends Element<T>>
@Nullable public Difference transform(@Nullable T oldElement, @Nullable T newElement, @Nonnull Difference difference)
DifferenceTransform
The code of the supplied difference will match at least one of the regexes returned from the DifferenceTransform.getDifferenceCodePatterns()
method.
transform
in interface DifferenceTransform<T extends Element<T>>
oldElement
- the old differing elementnewElement
- the new differing elementdifference
- the difference descriptionCopyright © 2014-2021 Lukas Krejci. All Rights Reserved.