|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Resource
A resource provides all relevant information about a registered resource.
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.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. |
| Methods inherited from interface org.apache.sling.installer.api.tasks.RegisteredResource |
|---|
getDictionary, getDigest, getEntityId, getInputStream, getPriority, getScheme, getType, getURL |
| Method Detail |
|---|
ResourceState getState()
org.osgi.framework.Version getVersion()
nulllong getLastChange()
java.lang.Object getAttribute(java.lang.String key)
ResourceTransformer or a InstallTask for
processing.
key - The name of the attribute
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||