| org.netbeans.modules.apisupport.project.spi.NbModuleProvider
NbModuleProvider | public interface NbModuleProvider (Code) | | Interface to be implemented by NetBeans module projects.
See Also: org.netbeans.api.project.Project.getLookup author: Martin Krauskopf, Milos Kleint since: org.netbeans.modules.apisupport.project 1.15 |
Inner Class : enum NbModuleType | |
NETBEANS_ORG | NbModuleType NETBEANS_ORG(Code) | | |
STANDALONE | NbModuleType STANDALONE(Code) | | |
SUITE_COMPONENT | NbModuleType SUITE_COMPONENT(Code) | | |
addDependency | boolean addDependency(String codeNameBase, String releaseVersion, SpecificationVersion version, boolean useInCompiler) throws IOException(Code) | | add/updates the given dependency to the project
|
getActivePlatformLocation | File getActivePlatformLocation()(Code) | | get the NetBeans platform for the module
location of the root directory of NetBeans platform installation |
getCodeNameBase | String getCodeNameBase()(Code) | | Returns the codenamebase of the module
module's codenamebase |
getDependencyVersion | SpecificationVersion getDependencyVersion(String codenamebase) throws IOException(Code) | | checks the declared version of the given dependency
Parameters: codenamebase - |
getManifestFile | FileObject getManifestFile()(Code) | | returns the location of the module's manifest
manifest FileObject. |
getModuleType | NbModuleType getModuleType()(Code) | | Returns type of this NetBeans module.
STANDALONE SUITE_COMPONENT or NETBEANS_ORG |
getProjectFilePath | String getProjectFilePath()(Code) | | returns the relative path to the main project file (eg. nbproject/project.xml)
relative path from project root to the main project file. |
getResourceDirectoryPath | String getResourceDirectoryPath(boolean inTests)(Code) | | relative path to the directory which contains/is to contain resources, META-INF/services folder or layer file for example
Parameters: inTests - relative path from project root to resource root. |
getSourceDirectory | FileObject getSourceDirectory()(Code) | | returns root directory with sources.
sources root FileObject |
getSourceDirectoryPath | String getSourceDirectoryPath()(Code) | | Returns a relative path to a project's source directory.
relative path to sources.. |
getSpecVersion | String getSpecVersion()(Code) | | Returns the specification version of the module
specification version of the module |
|
|