@Test public void testSetMetadataFilter() throws Exception { WriteMetadataToFilesystem service = new WriteMetadataToFilesystem(); assertNull(service.getMetadataFilter()); service.setMetadataFilter(new RegexMetadataFilter()); assertEquals(RegexMetadataFilter.class, service.getMetadataFilter().getClass()); service.setMetadataFilter(null); assertEquals(NoOpMetadataFilter.class, service.metadataFilter().getClass()); }
public void setMetadataFilter(MetadataFilter filter) { metadataFilter = filter; }
WriteMetadataToFilesystem extends ServiceImp { public void setMetadataFilter(MetadataFilter filter) { metadataFilter = filter; } }
WriteMetadataToFilesystem extends ServiceImp { public void setMetadataFilter(MetadataFilter filter) { metadataFilter = filter; } WriteMetadataToFilesystem();  WriteMetadataToFilesystem(MessageDrivenDestination d); }
WriteMetadataToFilesystem extends ServiceImp { public void setMetadataFilter(MetadataFilter filter) { metadataFilter = filter; } WriteMetadataToFilesystem();  WriteMetadataToFilesystem(MessageDrivenDestination d); @Override void doService(AdaptrisMessage msg); FileNameCreator getFilenameCreator(); void setFilenameCreator(FileNameCreator creator); OutputStyle getOutputStyle(); void setOutputStyle(OutputStyle style); MessageDrivenDestination getDestination(); void setDestination(MessageDrivenDestination d); Boolean getOverwriteIfExists(); void setOverwriteIfExists(Boolean b); boolean overwriteIfExists(); MetadataFilter getMetadataFilter(); void setMetadataFilter(MetadataFilter filter); @Override void prepare(); }
WriteMetadataToFilesystem extends ServiceImp { public void setMetadataFilter(MetadataFilter filter) { metadataFilter = filter; } WriteMetadataToFilesystem();  WriteMetadataToFilesystem(MessageDrivenDestination d); @Override void doService(AdaptrisMessage msg); FileNameCreator getFilenameCreator(); void setFilenameCreator(FileNameCreator creator); OutputStyle getOutputStyle(); void setOutputStyle(OutputStyle style); MessageDrivenDestination getDestination(); void setDestination(MessageDrivenDestination d); Boolean getOverwriteIfExists(); void setOverwriteIfExists(Boolean b); boolean overwriteIfExists(); MetadataFilter getMetadataFilter(); void setMetadataFilter(MetadataFilter filter); @Override void prepare();  }