public abstract class AbstractDifferenceReferringTransform<Recipe extends DifferenceMatchRecipe,ConfigContext> extends Object implements DifferenceTransform<Element>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDifferenceReferringTransform(String... propertyPrefix) |
| Modifier and Type | Method and Description |
|---|---|
Pattern[] |
getDifferenceCodePatterns() |
protected abstract ConfigContext |
initConfiguration() |
void |
initialize(AnalysisContext analysisContext) |
protected abstract Recipe |
newRecipe(ConfigContext context,
org.jboss.dmr.ModelNode configNode) |
Difference |
transform(Element oldElement,
Element newElement,
Difference difference) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosegetConfigurationRootPaths, getJSONSchema@Nonnull public Pattern[] getDifferenceCodePatterns()
getDifferenceCodePatterns in interface DifferenceTransform<Element>@Nullable protected abstract ConfigContext initConfiguration()
@Nonnull protected abstract Recipe newRecipe(@Nullable ConfigContext context, org.jboss.dmr.ModelNode configNode) throws IllegalArgumentException
IllegalArgumentExceptionpublic final void initialize(@Nonnull AnalysisContext analysisContext)
initialize in interface Configurable@Nullable public final Difference transform(@Nullable Element oldElement, @Nullable Element newElement, @Nonnull Difference difference)
transform in interface DifferenceTransform<Element>Copyright © 2015. All Rights Reserved.