LocalResource
ConvertedResource
, LazyLocalResourceImpl
, LocalResourceImpl
, ResourceImpl
public interface Resource
Modifier and Type | Field | Description |
---|---|---|
static String |
CATEGORY |
|
static String |
COPYRIGHT |
|
static String |
DESCRIPTION |
|
static String |
DOCUMENTATION_URI |
|
static String |
ID |
|
static String |
JAVADOC_URI |
|
static String |
LICENSE_URI |
|
static String |
MANIFEST_VERSION |
|
static String |
PRESENTATION_NAME |
|
static String |
SIZE |
|
static String |
SOURCE_URI |
|
static String |
SYMBOLIC_NAME |
|
static String |
URI |
|
static String |
VERSION |
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.
|
static final String LICENSE_URI
static final String DESCRIPTION
static final String DOCUMENTATION_URI
static final String COPYRIGHT
static final String SOURCE_URI
static final String JAVADOC_URI
static final String SYMBOLIC_NAME
static final String PRESENTATION_NAME
static final String ID
static final String VERSION
static final String URI
static final String SIZE
static final String CATEGORY
static final String MANIFEST_VERSION
Map getProperties()
String getId()
String getSymbolicName()
org.osgi.framework.Version getVersion()
String getPresentationName()
String getURI()
Long getSize()
String[] getCategories()
Capability[] getCapabilities()
Requirement[] getRequirements()
boolean isLocal()
Copyright © 2018. All rights reserved.