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 java.lang.Object implements PropertyChangeAppender<C>
-
-
Field Summary
-
Fields inherited from interface org.javers.core.diff.appenders.PropertyChangeAppender
HIGH_PRIORITY, LOW_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description CustomToNativeAppenderAdapter(CustomPropertyComparator<T,C> delegate, java.lang.Class<T> propertyJavaClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description C
calculateChanges(NodePair pair, JaversProperty property)
int
priority()
boolean
supports(JaversType propertyType)
Checks if given property type is supported
-
-
-
Constructor Detail
-
CustomToNativeAppenderAdapter
public CustomToNativeAppenderAdapter(CustomPropertyComparator<T,C> delegate, java.lang.Class<T> propertyJavaClass)
-
-
Method Detail
-
supports
public boolean supports(JaversType propertyType)
Description copied from interface:PropertyChangeAppender
Checks if given property type is supported- Specified by:
supports
in interfacePropertyChangeAppender<T>
-
calculateChanges
public C calculateChanges(NodePair pair, JaversProperty property)
- Specified by:
calculateChanges
in interfacePropertyChangeAppender<T>
-
priority
public int priority()
- Specified by:
priority
in interfacePropertyChangeAppender<T>
-
-