|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectaQute.lib.osgi.Processor
aQute.lib.osgi.Analyzer
aQute.lib.osgi.Builder
public class Builder
Include-Resource: ( [name '=' ] file )+ Private-Package: package-decl ( ',' package-decl )* Export-Package: package-decl ( ',' package-decl )* Import-Package: package-decl ( ',' package-decl )*
| Field Summary |
|---|
| Fields inherited from class aQute.lib.osgi.Processor |
|---|
DEFAULT_PLUGINS, LIST_SPLITTER |
| Constructor Summary | |
|---|---|
Builder()
|
|
Builder(Processor parent)
|
|
| Method Summary | |
|---|---|
String |
_maven_version(String[] args)
A macro to convert a maven version to an OSGi version |
String |
_permissions(String[] args)
|
void |
addSourcepath(File cp)
|
void |
analyze()
Intercept the call to analyze and cleanup versions after we have analyzed the setup. |
Jar |
build()
|
Jar[] |
builds()
Build Multiple jars. |
void |
cleanupVersion(Map<String,Map<String,String>> mapOfMap)
|
void |
close()
|
void |
doPom(Jar dot)
Create a POM reseource for Maven containing as much information as possible from the manifest. |
protected String |
getImportPackages()
Analyzer has an empty default but the builder has a * as default. |
Collection<File> |
getSourcePath()
|
Builder |
getSubBuilder()
|
boolean |
hasSources()
|
void |
removeBundleSpecificHeaders()
|
void |
setSourcepath(File[] files)
|
| Methods inherited from class aQute.lib.osgi.Analyzer |
|---|
_bsn, _classes, _exporters, _findname, _findpath, addClasspath, addClasspath, analyzeBundleClasspath, begin, calcManifest, calculateExportsFromContents, checkClass, cleanupVersion, clear, getBndInfo, getBndLastModified, getBsn, getBundleClasspath, getClasses, getClasspath, getClassspace, getContained, getExports, getImports, getJar, getManifest, getPackage, getReferred, getTarget, getUnreachable, getUses, getVersion, getVersionPolicy, mergeManifest, putAll, setBase, setClasspath, setClasspath, setClasspath, setJar, setJar |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Builder(Processor parent)
public Builder()
| Method Detail |
|---|
public Jar build()
throws Exception
Exceptionpublic boolean hasSources()
protected String getImportPackages()
Analyzer
getImportPackages in class Analyzer
public void analyze()
throws IOException
analyze in class AnalyzerIOExceptionpublic void cleanupVersion(Map<String,Map<String,String>> mapOfMap)
public Collection<File> getSourcePath()
public void setSourcepath(File[] files)
public void addSourcepath(File cp)
public void doPom(Jar dot)
throws FileNotFoundException,
IOException
output - builder -
FileNotFoundException
IOExceptionpublic void close()
close in interface Closeableclose in class Analyzer
public Jar[] builds()
throws Exception
Exception
public Builder getSubBuilder()
throws Exception
Exceptionpublic String _maven_version(String[] args)
public String _permissions(String[] args)
throws IOException
IOExceptionpublic void removeBundleSpecificHeaders()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||