@Test public void excludeWiki() throws Exception { excludesWiki("wiki"); assertNotMatchesWiki("wiki"); assertMatchesWiki("otherwiki"); assertMatchesWiki("notwiki"); set.excludes(new EntityReference("otherwiki", EntityType.WIKI)); assertNotMatchesWiki("wiki"); assertNotMatchesWiki("otherwiki"); assertMatchesWiki("notwiki"); }
public EntityReferenceSet excludes(EntityReference reference) { if (this.excludes == null) { this.excludes = new EntityReferenceEntry(); } add(reference, this.excludes); return this; }
EntityReferenceSet { public EntityReferenceSet excludes(EntityReference reference) { if (this.excludes == null) { this.excludes = new EntityReferenceEntry(); } add(reference, this.excludes); return this; } }
EntityReferenceSet { public EntityReferenceSet excludes(EntityReference reference) { if (this.excludes == null) { this.excludes = new EntityReferenceEntry(); } add(reference, this.excludes); return this; }  }
EntityReferenceSet { public EntityReferenceSet excludes(EntityReference reference) { if (this.excludes == null) { this.excludes = new EntityReferenceEntry(); } add(reference, this.excludes); return this; }  EntityReferenceSet includes(EntityReference reference); EntityReferenceSet excludes(EntityReference reference); boolean matches(EntityReference reference); }
EntityReferenceSet { public EntityReferenceSet excludes(EntityReference reference) { if (this.excludes == null) { this.excludes = new EntityReferenceEntry(); } add(reference, this.excludes); return this; }  EntityReferenceSet includes(EntityReference reference); EntityReferenceSet excludes(EntityReference reference); boolean matches(EntityReference reference);  }