1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package io.earcam.instrumental.module.osgi;
20
21 import java.util.jar.Attributes.Name;
22
23
24
25
26
27
28
29
30 public enum BundleManifestHeaders {
31
32
33 BUNDLE_CATEGORY("Bundle-Category"),
34 BUNDLE_CLASSPATH("Bundle-ClassPath"),
35 BUNDLE_COPYRIGHT("Bundle-Copyright"),
36 BUNDLE_DESCRIPTION("Bundle-Description"),
37 BUNDLE_NAME("Bundle-Name"),
38 BUNDLE_NATIVECODE("Bundle-NativeCode"),
39 EXPORT_PACKAGE("Export-Package"),
40 IMPORT_PACKAGE("Import-Package"),
41 DYNAMICIMPORT_PACKAGE("DynamicImport-Package"),
42 BUNDLE_VENDOR("Bundle-Vendor"),
43 BUNDLE_VERSION("Bundle-Version"),
44 BUNDLE_DOCURL("Bundle-DocURL"),
45 BUNDLE_CONTACTADDRESS("Bundle-ContactAddress"),
46 BUNDLE_ACTIVATOR("Bundle-Activator"),
47 EXTENSION_BUNDLE_ACTIVATOR("ExtensionBundle-Activator"),
48 BUNDLE_UPDATELOCATION("Bundle-UpdateLocation"),
49 BUNDLE_REQUIREDEXECUTIONENVIRONMENT("Bundle-RequiredExecutionEnvironment"),
50 BUNDLE_SYMBOLICNAME("Bundle-SymbolicName"),
51 BUNDLE_LOCALIZATION("Bundle-Localization"),
52 REQUIRE_BUNDLE("Require-Bundle"),
53 FRAGMENT_HOST("Fragment-Host"),
54 BUNDLE_MANIFESTVERSION("Bundle-ManifestVersion"),
55 BUNDLE_ACTIVATIONPOLICY("Bundle-ActivationPolicy"),
56 PROVIDE_CAPABILITY("Provide-Capability"),
57 REQUIRE_CAPABILITY("Require-Capability"),
58 BUNDLE_ICON("Bundle-Icon"),
59 BUNDLE_LICENSE("Bundle-License");
60
61
62 private Name header;
63
64
65 BundleManifestHeaders(String header)
66 {
67 this.header = new Name(header);
68 }
69
70
71
72
73
74
75
76
77
78 public Name header()
79 {
80 return header;
81 }
82 }