public class NetBeansModule extends Object implements Serializable
Constructor and Description |
---|
NetBeansModule() |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(Dependency dependency)
Method addDependency.
|
void |
addLibrary(String string)
Method addLibrary.
|
void |
addNbmResource(NbmResource nbmResource)
Method addNbmResource.
|
String |
getAuthor()
Get dEPRECATED, use the plugin configuration instead.
|
String |
getCluster()
Get dEPRECATED, use the plugin configuration instead.
|
String |
getCodeNameBase()
Get dEPRECATED, use the plugin configuration instead.
|
List<Dependency> |
getDependencies()
Method getDependencies.
|
String |
getDistributionUrl()
Get dEPRECATED, use the plugin configuration instead.
|
String |
getHomepageUrl()
Get dEPRECATED, use the plugin configuration instead.
|
List<String> |
getLibraries()
Method getLibraries.
|
String |
getLicenseFile()
Get dEPRECATED, use the plugin configuration instead.
|
String |
getLicenseName()
Get dEPRECATED, use the plugin configuration instead.
|
String |
getManifest()
Get dEPRECATED, use the plugin configuration instead.
|
String |
getModelEncoding()
Get the modelEncoding field.
|
String |
getModuleType()
Get
|
List<NbmResource> |
getNbmResources()
Method getNbmResources.
|
boolean |
isRequiresRestart()
Get dEPRECATED, use the plugin configuration instead.
|
void |
removeDependency(Dependency dependency)
Method removeDependency.
|
void |
removeLibrary(String string)
Method removeLibrary.
|
void |
removeNbmResource(NbmResource nbmResource)
Method removeNbmResource.
|
void |
setAuthor(String author)
Set dEPRECATED, use the plugin configuration instead.
|
void |
setCluster(String cluster)
Set dEPRECATED, use the plugin configuration instead.
|
void |
setCodeNameBase(String codeNameBase)
Set dEPRECATED, use the plugin configuration instead.
|
void |
setDependencies(List<Dependency> dependencies)
Set dEPRECATED, use the plugin configuration instead.
|
void |
setDistributionUrl(String distributionUrl)
Set dEPRECATED, use the plugin configuration instead.
|
void |
setHomepageUrl(String homepageUrl)
Set dEPRECATED, use the plugin configuration instead.
|
void |
setLibraries(List<String> libraries)
Set groupId:artifactId of artifacts that shall become part
of the module and be added on the classpath
(ClassPath: manifest entry gets created
and the jar is included in the nbm file).
|
void |
setLicenseFile(String licenseFile)
Set dEPRECATED, use the plugin configuration instead.
|
void |
setLicenseName(String licenseName)
Set dEPRECATED, use the plugin configuration instead.
|
void |
setManifest(String manifest)
Set dEPRECATED, use the plugin configuration instead.
|
void |
setModelEncoding(String modelEncoding)
Set the modelEncoding field.
|
void |
setModuleType(String moduleType)
Set
|
void |
setNbmResources(List<NbmResource> nbmResources)
Set dEPRECATED, use the plugin configuration instead.
|
void |
setRequiresRestart(boolean requiresRestart)
Set dEPRECATED, use the plugin configuration instead.
|
public void addDependency(Dependency dependency)
dependency
- public void addLibrary(String string)
string
- public void addNbmResource(NbmResource nbmResource)
nbmResource
- public String getAuthor()
public String getCluster()
public String getCodeNameBase()
public List<Dependency> getDependencies()
public String getDistributionUrl()
public String getHomepageUrl()
public String getLicenseFile()
public String getLicenseName()
public String getManifest()
public String getModelEncoding()
public String getModuleType()
DEPRECATED, use the plugin configuration instead. Type of the module. Possible values are
autoload - Such a module is automatically enabled when some other module requires it and automatically disabled otherwise.
eager - This module type gets automatically enabled when all it's dependencies are satisfied. Disabled otherwise.
normal - This is the default value. This kind of module is enabled/disabled manually by the user. It installs enabled.
public List<NbmResource> getNbmResources()
public boolean isRequiresRestart()
public void removeDependency(Dependency dependency)
dependency
- public void removeLibrary(String string)
string
- public void removeNbmResource(NbmResource nbmResource)
nbmResource
- public void setAuthor(String author)
author
- public void setCluster(String cluster)
cluster
- public void setCodeNameBase(String codeNameBase)
codeNameBase
- public void setDependencies(List<Dependency> dependencies)
dependencies
- public void setDistributionUrl(String distributionUrl)
distributionUrl
- public void setHomepageUrl(String homepageUrl)
homepageUrl
- public void setLibraries(List<String> libraries)
libraries
- public void setLicenseFile(String licenseFile)
licenseFile
- public void setLicenseName(String licenseName)
licenseName
- public void setManifest(String manifest)
manifest
- public void setModelEncoding(String modelEncoding)
modelEncoding
- public void setModuleType(String moduleType)
DEPRECATED, use the plugin configuration instead. Type of the module. Possible values are
autoload - Such a module is automatically enabled when some other module requires it and automatically disabled otherwise.
eager - This module type gets automatically enabled when all it's dependencies are satisfied. Disabled otherwise.
normal - This is the default value. This kind of module is enabled/disabled manually by the user. It installs enabled.
moduleType
- public void setNbmResources(List<NbmResource> nbmResources)
nbmResources
- public void setRequiresRestart(boolean requiresRestart)
requiresRestart
- Copyright © 2005-2015 Codehaus. All Rights Reserved.