public interface Asset
An Asset is a representation of some resource that is necessary in order to run a dataflow.
An Asset is always accessed as a local file.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the digest of the contents of the local file that the Asset is associated with.getFile()Returns the local file that the Asset is associated withReturns a unique identifier for the AssetgetName()Returns the name of the AssetReturns the identifier of the parameter context the Asset belongs to
-
Method Details
-
getIdentifier
String getIdentifier()Returns a unique identifier for the Asset- Returns:
- Asset Identifier
-
getParameterContextIdentifier
String getParameterContextIdentifier()Returns the identifier of the parameter context the Asset belongs to- Returns:
- Parameter Context Identifier
-
getName
String getName()Returns the name of the Asset- Returns:
- Asset Name
-
getFile
File getFile()Returns the local file that the Asset is associated with- Returns:
- Asset File
-
getDigest
Returns the digest of the contents of the local file that the Asset is associated with. The digest will not be present when the asset is considered missing and the local file does not exist.- Returns:
- Asset Digest or empty when not found
-