public class AssetImpl extends Object implements Asset
| Constructor and Description |
|---|
AssetImpl() |
| Modifier and Type | Method and Description |
|---|---|
Optional<ExperimentContext> |
getExperimentContext()
Returns the optional
ExperimentContext associated with this asset. |
Optional<File> |
getFile()
Returns the optional asset's file.
|
Optional<byte[]> |
getFileLikeData()
Returns the optional asset's data array.
|
Optional<String> |
getGroupingName() |
String |
getLogicalPath()
Returns the logical file path for this asset.
|
Map<String,Object> |
getMetadata()
Returns metadata associated with this asset or
Map if there is no metadata. |
String |
getType()
Returns the type of this asset.
|
void |
setContext(ExperimentContext context) |
public void setContext(ExperimentContext context)
public Map<String,Object> getMetadata()
AssetMap if there is no metadata.getMetadata in interface AssetMap if there is no metadata.public Optional<File> getFile()
Assetpublic Optional<byte[]> getFileLikeData()
AssetgetFileLikeData in interface Assetpublic Optional<ExperimentContext> getExperimentContext()
AssetExperimentContext associated with this asset.getExperimentContext in interface AssetExperimentContext associated with this asset.public String getLogicalPath()
AssetgetLogicalPath in interface Assetpublic String getType()
AssetCopyright © 2022. All rights reserved.