CATEGORY, COPYRIGHT, DESCRIPTION, DOCUMENTATION_URI, ID, JAVADOC_URI, LICENSE_URI, MANIFEST_VERSION, PRESENTATION_NAME, SIZE, SOURCE_URI, SYMBOLIC_NAME, URI, VERSION
Constructor | Description |
---|---|
ConvertedResource(org.osgi.service.obr.Resource resource) |
Modifier and Type | Method | Description |
---|---|---|
Capability[] |
getCapabilities() |
Retrieve the capabilities
|
String[] |
getCategories() |
Retrieve this resource categories
|
String |
getId() |
Shortcut for {{getProperties().get(ID)}}
|
String |
getPresentationName() |
Shortcut for {{getProperties().get(PRESENTATION_NAME)}}
|
Map |
getProperties() |
Get all resource properties
|
Requirement[] |
getRequirements() |
Retrieve the requirements
|
Long |
getSize() |
Shortcut for {{getProperties().get(SIZE)}}
|
String |
getSymbolicName() |
Shortcut for {{getProperties().get(SYMBOLIC_NAME)}}
|
String |
getURI() |
Shortcut for {{getProperties().get(URI)}}
|
org.osgi.framework.Version |
getVersion() |
Shortcut for {{getProperties().get(VERSION)}}
|
boolean |
isLocal() |
Returns whether this resource is a local one or not.
|
public ConvertedResource(org.osgi.service.obr.Resource resource)
public Capability[] getCapabilities()
Resource
getCapabilities
in interface Resource
public Requirement[] getRequirements()
Resource
getRequirements
in interface Resource
public String[] getCategories()
Resource
getCategories
in interface Resource
public String getId()
Resource
public String getPresentationName()
Resource
getPresentationName
in interface Resource
public Map getProperties()
Resource
getProperties
in interface Resource
public Long getSize()
Resource
public String getSymbolicName()
Resource
getSymbolicName
in interface Resource
public String getURI()
Resource
public org.osgi.framework.Version getVersion()
Resource
getVersion
in interface Resource
Copyright © 2018. All rights reserved.