public abstract class SimpleDifferenceTransform<T extends Element> extends SimpleConfigurable implements DifferenceTransform<T>
| Constructor and Description |
|---|
SimpleDifferenceTransform() |
| Modifier and Type | Method and Description |
|---|---|
Pattern[] |
getDifferenceCodePatterns() |
Difference |
transform(T oldElement,
T newElement,
Difference difference)
Returns a transformed version of the difference.
|
close, getJSONSchema, initializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosegetExtensionId, getJSONSchema, initialize@Nonnull public Pattern[] getDifferenceCodePatterns()
getDifferenceCodePatterns in interface DifferenceTransform<T extends Element>@Nullable public Difference transform(@Nullable T oldElement, @Nullable T newElement, @Nonnull Difference difference)
DifferenceTransformThe 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>oldElement - the old differing elementnewElement - the new differing elementdifference - the difference descriptionCopyright © 2014-2020 Lukas Krejci. All Rights Reserved.