code: private void addProperties(ReplicationInternal replicationInternal) {
          for (ReplicationField key : properties.keySet()) {
              Object value = properties.get(key);
              switch (key) {
                  case FILTER_NAME:
                      replicationInternal.setFilter((String) value);
                      break;
                  case FILTER_PARAMS:
                      replicationInternal.setFilterParams((Map) value);
                      break;
                  case DOC_IDS:
                      replicationInternal.setDocIds((List) value);
                      break;
                  case AUTHENTICATOR:
                      replicationInternal.setAuthenticator((Authenticator) value);
                      break;
                  case CREATE_TARGET:
                      replicationInternal.setCreateTarget((Boolean) value);
                      break;
                  case REQUEST_HEADERS:
                      replicationInternal.setHeaders((Map) value);
                      break;
                  case REMOTE_UUID:
                      replicationInternal.setRemoteUUID((String) value);
                      break;
                  case CHANNELS:
                      replicationInternal.setChannels((List<String>)value);
                      break;
              }
          }
      }
docs: Add any properties associated with this Replication to the given
  ReplicationInternal object -- currently used to preserve properties
  of a Replication across restarts of the ReplicationInternal object.
  
  @param replicationInternal