1 19 20 package org.netbeans.modules.apisupport.project.spi; 21 22 import java.io.File ; 23 import java.io.IOException ; 24 import org.openide.filesystems.FileObject; 25 import org.openide.modules.SpecificationVersion; 26 27 34 public interface NbModuleProvider { 35 36 NbModuleType STANDALONE = NbModuleType.STANDALONE; 38 NbModuleType SUITE_COMPONENT = NbModuleType.SUITE_COMPONENT; 39 NbModuleType NETBEANS_ORG = NbModuleType.NETBEANS_ORG; 40 41 42 enum NbModuleType { 43 STANDALONE, 44 SUITE_COMPONENT, 45 NETBEANS_ORG 46 } 47 48 51 NbModuleType getModuleType(); 52 53 57 String getSpecVersion(); 58 59 63 String getCodeNameBase(); 64 65 66 69 String getSourceDirectoryPath(); 70 75 String getResourceDirectoryPath(boolean inTests); 76 77 81 String getProjectFilePath(); 82 83 87 FileObject getSourceDirectory(); 88 89 93 FileObject getManifestFile(); 94 95 98 boolean addDependency( 99 final String codeNameBase, final String releaseVersion, 100 final SpecificationVersion version, final boolean useInCompiler) throws IOException ; 101 102 107 SpecificationVersion getDependencyVersion(String codenamebase) throws IOException ; 108 109 113 File getActivePlatformLocation(); 114 115 116 } 117 | Popular Tags |