|
||||||||||
| 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 |
|---|
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. |
protected void |
changedFile(File f)
|
void |
cleanupVersion(Map<String,Map<String,String>> mapOfMap,
String defaultVersion)
|
void |
close()
|
boolean |
doNotCopy(String v)
doNotCopy The doNotCopy variable maintains a patter for files that should not be copied. |
String |
getClasspathEntrySuffix(File resource)
Answer the string of the resource that it has in the container. |
Pattern |
getDoNotCopy()
|
protected String |
getImportPackages()
Analyzer has an empty default but the builder has a * as default. |
Collection<File> |
getSourcePath()
|
Builder |
getSubBuilder()
|
Builder |
getSubBuilder(File file)
|
List<Builder> |
getSubBuilders()
Answer a list of builders that represent this file or a list of files specified in -sub. |
boolean |
hasSources()
|
void |
init()
Allow any local initialization by subclasses before we build. |
boolean |
isInScope(Collection<File> resources)
Check if the given resource is in scope of this bundle. |
void |
removeBundleSpecificHeaders()
|
void |
setSourcepath(File[] files)
|
protected void |
setTypeSpecificPlugins(Set<Object> list)
|
| Methods inherited from class aQute.lib.osgi.Analyzer |
|---|
_bsn, _classes, _exporters, _findname, _findpath, _md5, _sha1, addClasspath, addClasspath, analyzeBundleClasspath, begin, calcManifest, calculateExportsFromContents, checkClass, cleanupVersion, clear, doUses, findClass, findResource, getBndInfo, getBndLastModified, getBndVersion, getBsn, getBundleClasspath, getClasses, getClasspath, getClassspace, getContained, getExports, getGroups, getImports, getJar, getManifest, getPackage, getReferred, getTarget, getUnreachable, getUses, getVersion, getVersionPolicy, isNoBundle, mergeManifest, putAll, referred, referTo, 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
Exception
public void init()
throws Exception
Exceptionprotected void changedFile(File f)
public boolean hasSources()
protected String getImportPackages()
Analyzer
getImportPackages in class Analyzer
public void analyze()
throws Exception
analyze in class AnalyzerIOException
Exception
public void cleanupVersion(Map<String,Map<String,String>> mapOfMap,
String defaultVersion)
public Collection<File> getSourcePath()
public void setSourcepath(File[] files)
public void addSourcepath(File cp)
public void close()
close in interface Closeableclose in class Analyzer
public Jar[] builds()
throws Exception
Exception
public List<Builder> getSubBuilders()
throws Exception
Exception
public Builder getSubBuilder(File file)
throws Exception
Exception
public Builder getSubBuilder()
throws Exception
Exceptionpublic String _maven_version(String[] args)
public String _permissions(String[] args)
throws IOException
IOExceptionpublic void removeBundleSpecificHeaders()
public boolean isInScope(Collection<File> resources)
throws Exception
f -
Exception
public String getClasspathEntrySuffix(File resource)
throws Exception
resource - The resource to look for
Exceptionpublic boolean doNotCopy(String v)
Constants.DEFAULT_DO_NOT_COPY but this ca be
overridden with the Constants.DONOTCOPY property.
public Pattern getDoNotCopy()
protected void setTypeSpecificPlugins(Set<Object> list)
setTypeSpecificPlugins in class Processor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||