|
||||||||
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 | |
---|---|
java.lang.String |
_maven_version(java.lang.String[] args)
A macro to convert a maven version to an OSGi version |
java.lang.String |
_permissions(java.lang.String[] args)
|
void |
addSourcepath(java.io.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(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> mapOfMap)
|
void |
close()
|
void |
doPom(Jar dot)
Create a POM reseource for Maven containing as much information as possible from the manifest. |
protected java.lang.String |
getImportPackages()
Analyzer has an empty default but the builder has a * as default. |
java.util.Collection<java.io.File> |
getSourcePath()
|
Builder |
getSubBuilder()
|
boolean |
hasSources()
|
void |
removeBundleSpecificHeaders()
|
void |
setSourcepath(java.io.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 java.lang.Exception
java.lang.Exception
public boolean hasSources()
protected java.lang.String getImportPackages()
Analyzer
getImportPackages
in class Analyzer
public void analyze() throws java.io.IOException
analyze
in class Analyzer
java.io.IOException
public void cleanupVersion(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> mapOfMap)
public java.util.Collection<java.io.File> getSourcePath()
public void setSourcepath(java.io.File[] files)
public void addSourcepath(java.io.File cp)
public void doPom(Jar dot) throws java.io.FileNotFoundException, java.io.IOException
output
- builder
-
java.io.FileNotFoundException
java.io.IOException
public void close()
close
in interface java.io.Closeable
close
in class Analyzer
public Jar[] builds() throws java.lang.Exception
java.lang.Exception
public Builder getSubBuilder() throws java.lang.Exception
java.lang.Exception
public java.lang.String _maven_version(java.lang.String[] args)
public java.lang.String _permissions(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public void removeBundleSpecificHeaders()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |