public class CompoundResource extends java.lang.Object implements Resource
Constructor and Description |
---|
CompoundResource(ResourceKey source,
DependencyCollector dependencies,
java.lang.Object product,
java.lang.Class targetType) |
Modifier and Type | Method and Description |
---|---|
ResourceKey[] |
getDependencies()
The primary source is also included in this set.
|
java.lang.Object |
getResource() |
ResourceKey |
getSource() |
java.lang.Class |
getTargetType() |
long |
getVersion(ResourceKey key) |
boolean |
isTemporaryResult() |
public CompoundResource(ResourceKey source, DependencyCollector dependencies, java.lang.Object product, java.lang.Class targetType)
public java.lang.Object getResource() throws ResourceException
getResource
in interface Resource
ResourceException
public long getVersion(ResourceKey key)
getVersion
in interface Resource
public ResourceKey[] getDependencies()
getDependencies
in interface Resource
public ResourceKey getSource()
public java.lang.Class getTargetType()
getTargetType
in interface Resource
public boolean isTemporaryResult()
isTemporaryResult
in interface Resource