Interface Asset


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 Type
    Method
    Description
    Returns the digest of the contents of the local file that the Asset is associated with.
    Returns the local file that the Asset is associated with
    Returns a unique identifier for the Asset
    Returns the name of the Asset
    Returns 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

      Optional<String> 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