Package aQute.bnd.osgi
Class Domain
java.lang.Object
aQute.bnd.osgi.Domain
- Direct Known Subclasses:
Processor
This class abstracts domains that have properties holding OSGi meta data. It
provides access to the keys, the set method and the get method. It then
provides convenient methods to access these properties via semantic methods.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
static Domain
domain
(byte[] data) static Domain
static Domain
static Domain
domain
(Attributes attrs) static Domain
domain
(JarInputStream jin) static Domain
static Domain
abstract String
getIcon
(int requestedSize) Find an icon with the requested size in the list of icons.private String
getParameters
(String key) getParameters
(String key, boolean allowDuplicates) getParameters
(String key, Reporter reporter) getParameters
(String key, String deflt) getParameters
(String key, String deflt, Reporter reporter) getRunee()
boolean
isFailOk()
Indicates that this run should ignore errors and succeed anywayboolean
static String
normalizeKey
(String key) abstract void
void
setAugment
(String augments) void
void
void
void
void
setBundleVersion
(Version version) void
setBundleVersion
(String version) void
setConditionalPackage
(String string) void
void
void
setFailOk
(boolean b) void
void
setIncludePackage
(String value) void
void
void
setRunblacklist
(String blacklist) void
void
void
setRunRequires
(String runRq) void
setSources
(boolean b) void
setTranslation
(Jar jar) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Field Details
-
translation
-
-
Constructor Details
-
Domain
public Domain()
-
-
Method Details
-
get
-
get
-
translate
-
translate
-
set
-
normalizeKey
-
domain
-
domain
-
domain
-
domain
-
getParameters
-
getParameters
-
getParameters
-
getParameters
-
getParameters
-
getRequireBundle
-
getImportPackage
-
getExportPackage
-
getBundleClassPath
-
getPrivatePackage
-
getIncludeResource
-
getDynamicImportPackage
-
getExportContents
-
setExportContents
-
getBundleActivator
-
setPrivatePackage
-
setIncludeResource
-
setBundleActivator
-
setExportPackage
-
setImportPackage
-
setBundleClasspath
-
getBundleClasspath
-
setBundleRequiredExecutionEnvironment
-
getBundleRequiredExecutionEnvironment
-
setSources
public void setSources(boolean b) -
isSources
public boolean isSources() -
getBundleSymbolicName
-
getFragmentHost
-
setBundleSymbolicName
-
getBundleVersion
-
setBundleVersion
-
setBundleVersion
-
setFailOk
public void setFailOk(boolean b) -
setRunfw
-
setRunRequires
-
setAugment
-
isFailOk
public boolean isFailOk()Indicates that this run should ignore errors and succeed anyway- Returns:
- true if this processor should return errors
-
getIcon
Find an icon with the requested size in the list of icons.- Parameters:
requestedSize
- the number of pixels desired- Returns:
- null or a the selected URI (which may be relative)
- Throws:
Exception
-
setConditionalPackage
-
setRunblacklist
-
getRunblacklist
-
setRunee
-
getRunee
-
setTranslation
- Throws:
Exception
-
getRequireCapability
-
getProvideCapability
-
domain
-
domain
- Throws:
IOException
-
domain
- Throws:
IOException
-
getLocalization
-
getBundleName
-
getBundleDescription
-
getBundleCopyright
-
getBundleDocURL
-
getBundleVendor
-
getBundleContactAddress
-
getBundleCategory
-
getBundleNative
-
copyFrom
-
setIncludePackage
-