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