- Type Parameters:
T
- The JSONNode Type
G
- The property Getter data type, i.e., Integer for arrays, String for Arrays
- All Known Subinterfaces:
JSONArrayConflictStrategy
, JSONObjectConflictStrategy
- All Known Implementing Classes:
AbstractConflictStrategy
, AbstractJSONArrayConflictStrategy
, AbstractJSONObjectConflictStrategy
, AcceptPrimaryConflictStrategy
, AcceptSecondaryConflictStrategy
, AppendArrayConflictStrategy
, AppendObjectConflictStrategy
, DeduplicateArrayConflictStrategy
, InsertAfterConflictStrategy
, InsertBeforeConflictStrategy
public interface ConflictStrategy<T,G>
- Author:
- Jim Earley (xml.jim@gmail.com)
-
Method Summary
-
Method Details
-
-
apply
Apply a conflict strategy to a given JSONNode context
- Parameters:
context
- the JSONNode that receives the "resolved" value
propertyValue
- either the key or index position of the value
primaryValue
- the value from the Primary JSONNode
secondaryValue
- the value from the Secondary JSONNode