public class ExamineManifest extends Object
| Modifier and Type | Method and Description |
|---|---|
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> |
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 |
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 |
setPopulateDependencies(boolean populateDependencies) |
public void checkFile()
throws MojoExecutionException
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 boolean isLocalized()
public String getSpecVersion()
public String getImplVersion()
public String getModule()
public String getModuleWithRelease()
public boolean hasPublicPackages()
public void setPopulateDependencies(boolean populateDependencies)
public boolean hasFriendPackages()
public List<String> getPackages()
public boolean isOsgiBundle()
Copyright © 2005-2012 Codehaus. All Rights Reserved.