@Test public void testSetHost() { BundleFilterURL filterURL = new BundleFilterURL() .setField(AutoField.newAutoField("input")) .setHost(AutoField.newAutoField("host")); MapBundle bundle = MapBundle.createBundle(new String[]{"input", "http: assertTrue(filterURL.filter(bundle)); assertEquals("www.neuron.com", bundle.get("host")); }
public BundleFilterURL setHost(AutoField value) { this.setHost = value; return this; }
BundleFilterURL implements BundleFilter { public BundleFilterURL setHost(AutoField value) { this.setHost = value; return this; } }
BundleFilterURL implements BundleFilter { public BundleFilterURL setHost(AutoField value) { this.setHost = value; return this; } BundleFilterURL(); }
BundleFilterURL implements BundleFilter { public BundleFilterURL setHost(AutoField value) { this.setHost = value; return this; } BundleFilterURL(); BundleFilterURL setHost(AutoField value); BundleFilterURL setHostNormal(AutoField value); BundleFilterURL setField(AutoField value); BundleFilterURL setBaseDomain(boolean value); BundleFilterURL setTopPrivateDomain(boolean value); BundleFilterURL setFixProto(boolean value); @Override boolean filter(Bundle bundle); }
BundleFilterURL implements BundleFilter { public BundleFilterURL setHost(AutoField value) { this.setHost = value; return this; } BundleFilterURL(); BundleFilterURL setHost(AutoField value); BundleFilterURL setHostNormal(AutoField value); BundleFilterURL setField(AutoField value); BundleFilterURL setBaseDomain(boolean value); BundleFilterURL setTopPrivateDomain(boolean value); BundleFilterURL setFixProto(boolean value); @Override boolean filter(Bundle bundle);  }