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, setVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCapability, getName, getUserObject, getVersion, setUserObject
public Filter getFilter()
NativeCodeDescription
getFilter
in interface NativeCodeDescription
public String[] getLanguages()
NativeCodeDescription
getLanguages
in interface NativeCodeDescription
public String[] getNativePaths()
NativeCodeDescription
getNativePaths
in interface NativeCodeDescription
public String[] getOSNames()
NativeCodeDescription
getOSNames
in interface NativeCodeDescription
public VersionRange[] getOSVersions()
NativeCodeDescription
getOSVersions
in interface NativeCodeDescription
public String[] getProcessors()
NativeCodeDescription
getProcessors
in interface NativeCodeDescription
public BundleDescription getSupplier()
BaseDescription
getSupplier
in interface BaseDescription
public int compareTo(NativeCodeDescription otherDesc)
NativeCodeDescription
compareTo
in interface Comparable<NativeCodeDescription>
compareTo
in interface NativeCodeDescription
otherDesc
- the native code description to be comparedpublic boolean hasInvalidNativePaths()
NativeCodeDescription
hasInvalidNativePaths
in interface NativeCodeDescription
public Map<String,String> getDeclaredDirectives()
BaseDescription
getDeclaredDirectives
in interface BaseDescription
public Map<String,Object> getDeclaredAttributes()
BaseDescription
getDeclaredAttributes
in interface BaseDescription
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.