@ProviderType public interface Resource extends RegisteredResource
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String key)
Get the value of an attribute.
|
long |
getLastChange()
When did the last change happen?
|
ResourceState |
getState()
Get the current state of the resource.
|
org.osgi.framework.Version |
getVersion()
Return the version of the artifact.
|
getDictionary, getDigest, getEntityId, getInputStream, getPriority, getScheme, getType, getURL
ResourceState getState()
org.osgi.framework.Version getVersion()
null
long getLastChange()
Object getAttribute(String key)
ResourceTransformer
or a InstallTask
for
processing.key
- The name of the attributenull
Copyright © 2015 The Apache Software Foundation. All rights reserved.