com.hcl.voltmx.sync.services.interceptor
Interface ISyncConflictResolutionInterceptor
public interface ISyncConflictResolutionInterceptor
The interceptor interface for conflict resolution.
Implement this interface for a custom conflict resolution policy
resolveConflict
ConflictResolutionResult resolveConflict(ISyncConflictContext context)
throws java.lang.Exception
- Method to resolve the conflict.
This method will be invoked by sync services when there is a conflict and conflict resolution policy is
custom
- Parameters:
context
- Conflict context object which contains the conflict information
- Returns:
- Conflict resolution Result after the custom logic
- Throws:
java.lang.Exception