public class NativeCodeDescriptionImpl extends BaseDescriptionImpl implements NativeCodeDescription
monitor| Constructor and Description |
|---|
NativeCodeDescriptionImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(NativeCodeDescription otherDesc)
Native code descriptions are sorted with the following preferences:
The minimum version of the os version ranges
The language
|
Map<String,Object> |
getDeclaredAttributes()
Returns the attributes declared with the description.
|
Map<String,String> |
getDeclaredDirectives()
Returns the directives declared with the description.
|
Filter |
getFilter()
Returns the selection filter used to select the native code.
|
String[] |
getLanguages()
Returns the languages supported by the native code.
|
String[] |
getNativePaths()
Returns the paths to the native code libraries.
|
String[] |
getOSNames()
Returns the operating system names supported by the native code.
|
VersionRange[] |
getOSVersions()
Returns the operating system version ranges supported by the native code.
|
String[] |
getProcessors()
Returns the processors supported by the native code.
|
BundleDescription |
getSupplier()
Returns the bundle which supplies this base description
|
boolean |
hasInvalidNativePaths()
Indicates if this native code description has invalid native code paths.
|
String |
toString() |
getCapability, getFragmentDeclaration, getName, getUserObject, getVersion, setName, setUserObject, setVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCapability, getName, getUserObject, getVersion, setUserObjectpublic Filter getFilter()
NativeCodeDescriptiongetFilter in interface NativeCodeDescriptionpublic String[] getLanguages()
NativeCodeDescriptiongetLanguages in interface NativeCodeDescriptionpublic String[] getNativePaths()
NativeCodeDescriptiongetNativePaths in interface NativeCodeDescriptionpublic String[] getOSNames()
NativeCodeDescriptiongetOSNames in interface NativeCodeDescriptionpublic VersionRange[] getOSVersions()
NativeCodeDescriptiongetOSVersions in interface NativeCodeDescriptionpublic String[] getProcessors()
NativeCodeDescriptiongetProcessors in interface NativeCodeDescriptionpublic BundleDescription getSupplier()
BaseDescriptiongetSupplier in interface BaseDescriptionpublic int compareTo(NativeCodeDescription otherDesc)
NativeCodeDescriptioncompareTo in interface Comparable<NativeCodeDescription>compareTo in interface NativeCodeDescriptionotherDesc - the native code description to be comparedpublic boolean hasInvalidNativePaths()
NativeCodeDescriptionhasInvalidNativePaths in interface NativeCodeDescriptionpublic Map<String,String> getDeclaredDirectives()
BaseDescriptiongetDeclaredDirectives in interface BaseDescriptionpublic Map<String,Object> getDeclaredAttributes()
BaseDescriptiongetDeclaredAttributes in interface BaseDescriptionCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.