Package aQute.bnd.exporter.subsystem
Class SubsystemExporter
- java.lang.Object
-
- aQute.bnd.exporter.subsystem.SubsystemExporter
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringARCHIVE_CONTENT_TYPEprivate static java.lang.StringCONSTANT_MANIFEST_VERSION
-
Constructor Summary
Constructors Constructor Description SubsystemExporter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map.Entry<java.lang.String,Resource>export(java.lang.String type, Project project, java.util.Map<java.lang.String,java.lang.String> options)private java.util.List<java.io.File>getBundles(java.util.Collection<Container> containers, Processor reporter)private static java.util.Map<java.lang.String,java.lang.String>getDefaultsMap()private java.util.Collection<Container>getRequiredBundles(Project project)java.lang.String[]getTypes()private voidheaders(java.util.jar.Attributes mainAttributes, Project project)private voidset(java.util.jar.Attributes mainAttributes, java.lang.String key, MultiMap<java.lang.String,Attrs> multiMap)private voidset(java.util.jar.Attributes mainAttributes, java.lang.String key, java.lang.String... values)
-
-
-
Field Detail
-
ARCHIVE_CONTENT_TYPE
private static final java.lang.String ARCHIVE_CONTENT_TYPE
- See Also:
- Constant Field Values
-
CONSTANT_MANIFEST_VERSION
private static final java.lang.String CONSTANT_MANIFEST_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultsMap
private static final java.util.Map<java.lang.String,java.lang.String> getDefaultsMap()
-
export
public java.util.Map.Entry<java.lang.String,Resource> export(java.lang.String type, Project project, java.util.Map<java.lang.String,java.lang.String> options) throws java.lang.Exception
-
set
private void set(java.util.jar.Attributes mainAttributes, java.lang.String key, MultiMap<java.lang.String,Attrs> multiMap)
-
getRequiredBundles
private java.util.Collection<Container> getRequiredBundles(Project project) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getBundles
private java.util.List<java.io.File> getBundles(java.util.Collection<Container> containers, Processor reporter) throws java.lang.Exception
- Throws:
java.lang.Exception
-
headers
private void headers(java.util.jar.Attributes mainAttributes, Project project)
-
set
private void set(java.util.jar.Attributes mainAttributes, java.lang.String key, java.lang.String... values)
-
-