|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskResource
A task resource is a registered resource which has been
processed by a ResourceTransformer
and is now
about to be processed by an .
Method Summary | |
---|---|
Object |
getAttribute(String key)
Get the value of an attribute. |
ResourceState |
getState()
Get the current state of the resource. |
Object |
getTemporaryAttribute(String key)
Get the value of a temporary attribute. |
void |
setAttribute(String key,
Object value)
Set the value of an attribute. |
void |
setTemporaryAttribute(String key,
Object value)
Set the value of a temporary attribute. |
Methods inherited from interface org.apache.sling.installer.api.tasks.RegisteredResource |
---|
getDictionary, getDigest, getEntityId, getInputStream, getPriority, getScheme, getType, getURL |
Method Detail |
---|
Object getAttribute(String key)
key
- The name of the attribute
null
void setAttribute(String key, Object value)
key
- The name of the attributevalue
- The attribute value or null
to remove it.ResourceState getState()
Object getTemporaryAttribute(String key)
key
- The name of the attribute
null
void setTemporaryAttribute(String key, Object value)
key
- The name of the attributevalue
- The attribute value or null
to remove it.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |