repo1.maven.org$maven2@org.apache.sling$org.apache.sling.installer.core@3.3.0
repo1.maven.org$maven2@org.apache.sling$org.apache.sling.installer.core@3.3.0@org$apache$sling$installer$api$tasks$TaskResource.java
file
oh
o
[]
package org.apache.sling.installer.api.tasks;
import org.osgi.framework.Version;
A task resource is a registered resource which has been
processed by a
ResourceTransformer and is now
about to be processed by an .
Get the value of an attribute.
Attributes include the bundle symbolic name, bundle version, etc.
- Parameters:
key The name of the attribute- Returns:
- The value of the attribute or
null
Set the value of an attribute.
- Parameters:
key The name of the attributevalue The attribute value or null to remove it.
Get the current state of the resource.
Get the value of a temporary attribute.
- Parameters:
key The name of the attribute- Returns:
- The value of the attribute or
null
Set the value of a temporary attribute.
- Parameters:
key The name of the attributevalue The attribute value or null to remove it.
Return the version of the artifact.
- Returns:
- The version of the artifact or
null - Since:
- 1.2