@Test public void importOptionsTest() { ImportOptions options = new ImportOptions(); Set<String> extensionsList = Sets.newHashSet("loadFoo", "loadBar"); options.setExtensions(extensionsList); assertEquals(Boolean.FALSE, options.withNoExtension()); options.addExtension("loadBar"); assertEquals(2, (int) options.getExtensions().map(Set::size).orElse(-1)); }
public ImportOptions() { }
ImportOptions extends AbstractOptions<ImportOptions> { public ImportOptions() { } }
ImportOptions extends AbstractOptions<ImportOptions> { public ImportOptions() { } ImportOptions();  ImportOptions(boolean throwExceptionIfExtensionNotFound); }
ImportOptions extends AbstractOptions<ImportOptions> { public ImportOptions() { } ImportOptions();  ImportOptions(boolean throwExceptionIfExtensionNotFound); @Override ImportOptions setExtensions(Set<String> extensions); ImportOptions setThrowExceptionIfExtensionNotFound(boolean throwExceptionIfExtensionNotFound); @Override ImportOptions addExtension(String extension); boolean isThrowExceptionIfExtensionNotFound(); }
ImportOptions extends AbstractOptions<ImportOptions> { public ImportOptions() { } ImportOptions();  ImportOptions(boolean throwExceptionIfExtensionNotFound); @Override ImportOptions setExtensions(Set<String> extensions); ImportOptions setThrowExceptionIfExtensionNotFound(boolean throwExceptionIfExtensionNotFound); @Override ImportOptions addExtension(String extension); boolean isThrowExceptionIfExtensionNotFound();  }