@ProviderType public interface TaskResource extends RegisteredResource
ResourceTransformer and is now
 about to be processed by an InstallTask.| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
ATTR_INSTALL_EXCLUDED
If this attribute is set and the resource has the state installed,
 it actually means that this resource has been processed but not installed. 
 | 
static java.lang.String | 
ATTR_INSTALL_INFO
Additional installation information in human readable format. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@Nullable java.lang.Object | 
getAttribute(java.lang.String key)
Get the value of an attribute. 
 | 
@Nullable java.lang.String | 
getError()
In case the resource was not successfully processed this might expose the related error description 
 | 
ResourceState | 
getState()
Get the current state of the resource. 
 | 
@Nullable java.lang.Object | 
getTemporaryAttribute(java.lang.String key)
Get the value of a temporary attribute. 
 | 
@Nullable org.osgi.framework.Version | 
getVersion()
Return the version of the artifact. 
 | 
void | 
setAttribute(java.lang.String key,
            java.lang.Object value)
Set the value of an attribute. 
 | 
void | 
setTemporaryAttribute(java.lang.String key,
                     java.lang.Object value)
Set the value of a temporary attribute. 
 | 
getDictionary, getDigest, getEntityId, getInputStream, getPriority, getScheme, getType, getURLstatic final java.lang.String ATTR_INSTALL_INFO
static final java.lang.String ATTR_INSTALL_EXCLUDED
@Nullable @Nullable java.lang.Object getAttribute(java.lang.String key)
ResourceTransformer or a InstallTask for
 processing.
 Typical attributes are the bundle symbolic name or bundle version.key - The name of the attributenullvoid setAttribute(java.lang.String key,
                  java.lang.Object value)
key - The name of the attributevalue - The attribute value or null to remove it.ResourceState getState()
@Nullable @Nullable java.lang.String getError()
null@Nullable @Nullable java.lang.Object getTemporaryAttribute(java.lang.String key)
key - The name of the attributenullvoid setTemporaryAttribute(java.lang.String key,
                           java.lang.Object value)
key - The name of the attributevalue - The attribute value or null to remove it.@Nullable @Nullable org.osgi.framework.Version getVersion()
nullCopyright © 2010 - 2023 Adobe. All Rights Reserved