@ProviderType public interface Resource extends RegisteredResource
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
|
long |
getLastChange()
When did the last change happen?
|
ResourceState |
getState()
Get the current state of the resource.
|
@Nullable Version |
getVersion()
Return the version of the artifact.
|
getDictionary, getDigest, getEntityId, getInputStream, getPriority, getScheme, getType, getURL
ResourceState getState()
@Nullable @Nullable java.lang.String getError()
null
@Nullable @Nullable Version getVersion()
null
long getLastChange()
@Nullable @Nullable java.lang.Object getAttribute(java.lang.String key)
ResourceTransformer
or a InstallTask
for
processing.key
- The name of the attributenull
Copyright © 2010 - 2020 Adobe. All Rights Reserved