public abstract class AbstractDifferenceReferringTransform extends Object implements org.revapi.DifferenceTransform<org.revapi.Element>
Modifier and Type | Field and Description |
---|---|
protected org.revapi.AnalysisContext |
analysisContext |
Modifier | Constructor and Description |
---|---|
protected |
AbstractDifferenceReferringTransform(String extensionId) |
Modifier and Type | Method and Description |
---|---|
Pattern[] |
getDifferenceCodePatterns() |
String |
getExtensionId() |
protected org.jboss.dmr.ModelNode |
getRecipesConfigurationAndInitialize() |
void |
initialize(org.revapi.AnalysisContext analysisContext) |
protected abstract DifferenceMatchRecipe |
newRecipe(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, wait
close
@Nullable public String getExtensionId()
getExtensionId
in interface org.revapi.configuration.Configurable
@Nonnull public Pattern[] getDifferenceCodePatterns()
getDifferenceCodePatterns
in interface org.revapi.DifferenceTransform<org.revapi.Element>
protected org.jboss.dmr.ModelNode getRecipesConfigurationAndInitialize()
protected abstract DifferenceMatchRecipe newRecipe(org.jboss.dmr.ModelNode configNode) throws IllegalArgumentException
IllegalArgumentException
public final void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
initialize
in interface org.revapi.configuration.Configurable
Copyright © 2014-2020 Lukas Krejci. All Rights Reserved.