Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-4315

ReplicatorConfiguration's filters and conflict resolver properties are deprecated

    XMLWordPrintable

Details

    • 2

    Description

      ReplicatorConfiguration's filters and conflict resolver properties are deprecated. Use the corresponding filters and conflict resolver properties in the CollectionConfiguration class instead. The deprecated filters and conflict resolver properties will be for the default collection.

      Deprecated APIs

      Java / Android

      • final ReplicatorConfiguration setDocumentIDs(@Nullable List<String> documentIDs)
      • final ReplicatorConfiguration setChannels(@Nullable List<String> channels)
      • final ReplicatorConfiguration setPullFilter(@Nullable ReplicationFilter pullFilter)
      • final ReplicatorConfiguration setPushFilter(@Nullable ReplicationFilter pushFilter)
      • final ReplicatorConfiguration setConflictResolver(@Nullable ConflictResolver conflictResolver)
      • final List<String> getDocumentIDs()
      • final List<String> getChannels()
      • final ReplicationFilter getPullFilter()
      • final ReplicationFilter getPushFilter()
      • final ConflictResolver getConflictResolver()

      Swift

      • var documentIDs: [String]?
      • var channels: [String]?
      • var pullFilter: ReplicationFilter?
      • var pushFilter: ReplicationFilter?
      • var conflictResolver: ConflictResolverProtocol?

      Objective-C (CBLReplicatorConfiguration)

      • @property (nonatomic, nullable) NSArray<NSString*>* documentIDs
      • @property (nonatomic, nullable) NSArray<NSString*>* channels
      • @property (nonatomic, nullable) CBLReplicationFilter pullFilter
      • @property (nonatomic, nullable) CBLReplicationFilter pushFilter
      • @property (nonatomic, nullable) id<CBLConflictResolver> conflictResolver

      .NET

      • IList<string> DocumentIDs
      • IList<string> Channels
      • Func<Document, DocumentFlags, bool> PullFilter
      • Func<Document, DocumentFlags, bool> PushFilter
      • var conflictResolver: ConflictResolverProtocol?

      C (CBLReplicatorConfiguration)

      • FLArray _cbl_nullable documentIDs
      • FLArray _cbl_nullable channels
      • CBLReplicationFilter _cbl_nullable pullFilter
      • CBLReplicationFilter _cbl_nullable pushFilter
      • CBLConflictResolver _cbl_nullable conflictResolver

      Attachments

        Activity

          People

            The Lite The Lite
            pasin Pasin Suriyentrakorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty