Package org.revapi.basic
Class VersionsTransform<E extends org.revapi.Element<E>>
- java.lang.Object
-
- org.revapi.base.BaseConfigurable
-
- org.revapi.base.BaseDifferenceTransform<E>
-
- org.revapi.basic.VersionsTransform<E>
-
- All Implemented Interfaces:
AutoCloseable
,org.revapi.configuration.Configurable
,org.revapi.DifferenceTransform<E>
public class VersionsTransform<E extends org.revapi.Element<E>> extends org.revapi.base.BaseDifferenceTransform<E>
-
-
Constructor Summary
Constructors Constructor Description VersionsTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pattern[]
getDifferenceCodePatterns()
String
getExtensionId()
Reader
getJSONSchema()
void
initialize(org.revapi.AnalysisContext analysisContext)
org.revapi.TransformationResult
tryTransform(E oldElement, E newElement, org.revapi.Difference difference)
-
-
-
Method Detail
-
getDifferenceCodePatterns
public Pattern[] getDifferenceCodePatterns()
-
tryTransform
public org.revapi.TransformationResult tryTransform(@Nullable E oldElement, @Nullable E newElement, org.revapi.Difference difference)
-
getExtensionId
public String getExtensionId()
-
getJSONSchema
@Nullable public Reader getJSONSchema()
- Specified by:
getJSONSchema
in interfaceorg.revapi.configuration.Configurable
- Overrides:
getJSONSchema
in classorg.revapi.base.BaseConfigurable
-
initialize
public void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
- Specified by:
initialize
in interfaceorg.revapi.configuration.Configurable
- Overrides:
initialize
in classorg.revapi.base.BaseConfigurable
-
-