@Test public void testGetWALEditFilter_NotIndexUpdaterSubscription() { assertNull(filterProvider.getWALEditFilter("NotAnIndexUpdaterSubscription")); }
@Override public WALEditFilter getWALEditFilter(String subscriptionId) { if (subscriptionId.startsWith("Indexer_")) { return new IndexerEditFilter(subscriptionId); } else if ("LinkIndexUpdater".equals(subscriptionId)) { return new LinkIndexUpdaterEditFilter(); } else { return null; } }
IndexerEditFilterProvider implements WALEditFilterProvider { @Override public WALEditFilter getWALEditFilter(String subscriptionId) { if (subscriptionId.startsWith("Indexer_")) { return new IndexerEditFilter(subscriptionId); } else if ("LinkIndexUpdater".equals(subscriptionId)) { return new LinkIndexUpdaterEditFilter(); } else { return null; } } }
IndexerEditFilterProvider implements WALEditFilterProvider { @Override public WALEditFilter getWALEditFilter(String subscriptionId) { if (subscriptionId.startsWith("Indexer_")) { return new IndexerEditFilter(subscriptionId); } else if ("LinkIndexUpdater".equals(subscriptionId)) { return new LinkIndexUpdaterEditFilter(); } else { return null; } }  }
IndexerEditFilterProvider implements WALEditFilterProvider { @Override public WALEditFilter getWALEditFilter(String subscriptionId) { if (subscriptionId.startsWith("Indexer_")) { return new IndexerEditFilter(subscriptionId); } else if ("LinkIndexUpdater".equals(subscriptionId)) { return new LinkIndexUpdaterEditFilter(); } else { return null; } }  @Override WALEditFilter getWALEditFilter(String subscriptionId); }
IndexerEditFilterProvider implements WALEditFilterProvider { @Override public WALEditFilter getWALEditFilter(String subscriptionId) { if (subscriptionId.startsWith("Indexer_")) { return new IndexerEditFilter(subscriptionId); } else if ("LinkIndexUpdater".equals(subscriptionId)) { return new LinkIndexUpdaterEditFilter(); } else { return null; } }  @Override WALEditFilter getWALEditFilter(String subscriptionId);  }