Package org.javers.core.diff.custom
Class CustomToNativeAppenderAdapter<T,C extends PropertyChange>
java.lang.Object
org.javers.core.diff.custom.CustomToNativeAppenderAdapter<T,C>
- All Implemented Interfaces:
PropertyChangeAppender<C>
public class CustomToNativeAppenderAdapter<T,C extends PropertyChange>
extends Object
implements PropertyChangeAppender<C>
-
Field Summary
Fields inherited from interface org.javers.core.diff.appenders.PropertyChangeAppender
HIGH_PRIORITY, LOW_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionCustomToNativeAppenderAdapter(CustomPropertyComparator<T, C> delegate, Class<T> propertyJavaClass) -
Method Summary
Modifier and TypeMethodDescriptioncalculateChanges(NodePair pair, JaversProperty property) intpriority()booleansupports(JaversType propertyType) Checks if given property type is supported
-
Constructor Details
-
CustomToNativeAppenderAdapter
public CustomToNativeAppenderAdapter(CustomPropertyComparator<T, C> delegate, Class<T> propertyJavaClass)
-
-
Method Details
-
supports
Description copied from interface:PropertyChangeAppenderChecks if given property type is supported- Specified by:
supportsin interfacePropertyChangeAppender<T>
-
calculateChanges
- Specified by:
calculateChangesin interfacePropertyChangeAppender<T>
-
priority
public int priority()- Specified by:
priorityin interfacePropertyChangeAppender<T>
-