public final class LoggedExperimentAssetImpl extends RemoteAssetImpl implements LoggedExperimentAsset
LoggedExperimentAsset.| Constructor and Description |
|---|
LoggedExperimentAssetImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAssetId()
Returns ID of the asset.
|
Optional<Instant> |
getCreatedAt()
Returns optional
Instant when this asset was logged to the Comet. |
Optional<String> |
getCurlDownload()
Returns optional command which can be used in terminal app to download this asset.
|
Optional<Long> |
getSize()
Returns the optional size of this asset if appropriate.
|
boolean |
isRemote()
Returns
true if this is remote asset, i.e., providing URI to the remote location to download
content. |
getLinkgetExperimentContext, getFile, getFileLikeData, getGroupingName, getLogicalPath, getMetadata, getType, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLinkgetExperimentContext, getFile, getFileLikeData, getLogicalPath, getMetadata, getTypepublic Optional<Long> getSize()
LoggedExperimentAssetgetSize in interface LoggedExperimentAssetpublic boolean isRemote()
LoggedExperimentAssettrue if this is remote asset, i.e., providing URI to the remote location to download
content.isRemote in interface LoggedExperimentAssettrue if this is remote asset.public Optional<Instant> getCreatedAt()
LoggedExperimentAssetInstant when this asset was logged to the Comet.getCreatedAt in interface LoggedExperimentAssetInstant when this asset was logged to the Comet.public Optional<String> getCurlDownload()
LoggedExperimentAssetgetCurlDownload in interface LoggedExperimentAssetpublic String getAssetId()
LoggedExperimentAssetgetAssetId in interface LoggedExperimentAssetCopyright © 2022. All rights reserved.