Class ConflictResolution

    • Constructor Detail

      • ConflictResolution

        public ConflictResolution()
    • Method Detail

      • withDocument

        public static <T> ConflictResolution withDocument​(T fullDocumentForResolution)
        Returns a new ConflictResolution.WithDocument resolution with the provided document.
        Type Parameters:
        T - The Java type of the full document.
        Parameters:
        fullDocumentForResolution - The object representing the document that resolves the conflict
        Returns:
        the ConflictResolution.WithDocument conflict resolution with the provided full document.
      • fromRemote

        public static ConflictResolution fromRemote()
        Returns the ConflictResolution.FromRemote conflict resolution.
        Returns:
        the ConflictResolution.FromRemote conflict resolution.
      • fromLocal

        public static ConflictResolution fromLocal()
        Returns the ConflictResolution.FromLocal conflict resolution.
        Returns:
        the ConflictResolution.FromLocal conflict resolution.