|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.mojo.nbm.utils.ExamineManifest
public class ExamineManifest
Tag examines the manifest of a jar file and retrieves NetBeans specific information.
| Constructor Summary | |
|---|---|
ExamineManifest(org.apache.maven.plugin.logging.Log logger)
|
|
| Method Summary | |
|---|---|
void |
checkFile()
|
String |
getClasspath()
|
List<String> |
getDependencyTokens()
|
List<String> |
getFriends()
|
String |
getImplVersion()
|
String |
getModule()
Code name base of the module only. |
String |
getModuleWithRelease()
Full name of module: code name base, then optionally slash and major release version. |
List<String> |
getNetBeansProvidesTokens()
|
List<String> |
getNetBeansRequiresTokens()
|
Set<String> |
getOsgiExports()
|
Set<String> |
getOsgiImports()
|
List<String> |
getPackages()
list of package statements from OpenIDE-Module-Public-Packages. |
String |
getSpecVersion()
|
boolean |
hasFriendPackages()
returns true if both public packages and friend list are declared. |
boolean |
hasPublicPackages()
returns true if there are defined public packages and there is no friend declaration. |
boolean |
isBundleAutoload()
|
boolean |
isLocalized()
|
boolean |
isNetBeansModule()
|
boolean |
isOsgiBundle()
|
void |
setArtifactFile(File artifactFileLoc)
Either call setJarFile(java.io.File) or setManifestFile(java.io.File) as appropriate. |
void |
setJarFile(File jarFileLoc)
The jar file to examine. |
void |
setManifestFile(File manifestFileLoc)
Manifest file to be examined. |
void |
setNetBeansModule(boolean netBeansModule)
|
void |
setPopulateDependencies(boolean populateDependencies)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExamineManifest(org.apache.maven.plugin.logging.Log logger)
| Method Detail |
|---|
public void checkFile()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void setJarFile(File jarFileLoc)
public void setManifestFile(File manifestFileLoc)
public void setArtifactFile(File artifactFileLoc)
setJarFile(java.io.File) or setManifestFile(java.io.File) as appropriate.
artifactFileLoc - a JAR or folderpublic String getClasspath()
public boolean isNetBeansModule()
public void setNetBeansModule(boolean netBeansModule)
public boolean isLocalized()
public String getSpecVersion()
public String getImplVersion()
public String getModule()
public String getModuleWithRelease()
public boolean hasPublicPackages()
public void setPopulateDependencies(boolean populateDependencies)
public List<String> getDependencyTokens()
public boolean hasFriendPackages()
public List<String> getFriends()
public List<String> getPackages()
public boolean isOsgiBundle()
public Set<String> getOsgiImports()
public Set<String> getOsgiExports()
public List<String> getNetBeansRequiresTokens()
public List<String> getNetBeansProvidesTokens()
public boolean isBundleAutoload()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||