@Test public void testGetPackageNames() { assertNotNull(module.getPackageNames()); List<String> formats = new ArrayList<>(); formats.add("java"); List<String> packageNames = new ArrayList<>(); DefaultAtlasModuleInfo moduleInfo = new DefaultAtlasModuleInfo("name", "atlas:java", null, null, formats, packageNames); assertNotNull(moduleInfo.getPackageNames()); moduleInfo = new DefaultAtlasModuleInfo("name", "atlas:java", null, null, formats, null); assertNotNull(moduleInfo.getPackageNames()); }
@Override public String[] getPackageNames() { if (packageNames == null || packageNames.size() < 1) { return new String[0]; } return packageNames.toArray(new String[packageNames.size()]); }
DefaultAtlasModuleInfo implements AtlasModuleInfo, AtlasModuleInfoMXBean { @Override public String[] getPackageNames() { if (packageNames == null || packageNames.size() < 1) { return new String[0]; } return packageNames.toArray(new String[packageNames.size()]); } }
DefaultAtlasModuleInfo implements AtlasModuleInfo, AtlasModuleInfoMXBean { @Override public String[] getPackageNames() { if (packageNames == null || packageNames.size() < 1) { return new String[0]; } return packageNames.toArray(new String[packageNames.size()]); } DefaultAtlasModuleInfo(String name, String uri, Class<AtlasModule> moduleClass, Constructor<AtlasModule> constructor,
            List<String> formats, List<String> packageNames); }
DefaultAtlasModuleInfo implements AtlasModuleInfo, AtlasModuleInfoMXBean { @Override public String[] getPackageNames() { if (packageNames == null || packageNames.size() < 1) { return new String[0]; } return packageNames.toArray(new String[packageNames.size()]); } DefaultAtlasModuleInfo(String name, String uri, Class<AtlasModule> moduleClass, Constructor<AtlasModule> constructor,
            List<String> formats, List<String> packageNames); @Override String getModuleClassName(); Constructor<AtlasModule> getConstructor(); List<String> getFormats(); @Override Class<AtlasModule> getModuleClass(); @Override String[] getDataFormats(); @Override String[] getPackageNames(); @Override String getName(); @Override String getUri(); @Override Boolean isSourceSupported(); @Override Boolean isTargetSupported(); @Override String getClassName(); @Override String getVersion(); @Override String toString(); }
DefaultAtlasModuleInfo implements AtlasModuleInfo, AtlasModuleInfoMXBean { @Override public String[] getPackageNames() { if (packageNames == null || packageNames.size() < 1) { return new String[0]; } return packageNames.toArray(new String[packageNames.size()]); } DefaultAtlasModuleInfo(String name, String uri, Class<AtlasModule> moduleClass, Constructor<AtlasModule> constructor,
            List<String> formats, List<String> packageNames); @Override String getModuleClassName(); Constructor<AtlasModule> getConstructor(); List<String> getFormats(); @Override Class<AtlasModule> getModuleClass(); @Override String[] getDataFormats(); @Override String[] getPackageNames(); @Override String getName(); @Override String getUri(); @Override Boolean isSourceSupported(); @Override Boolean isTargetSupported(); @Override String getClassName(); @Override String getVersion(); @Override String toString();  }