Class Asset

java.lang.Object
org.craftercms.studio.api.v1.asset.Asset

public class Asset extends Object
Represents an asset that can be processed (image, pdf, Word document, etc.)
Author:
avasquez
  • Constructor Details

    • Asset

      public Asset(String repoPath, Path filePath)
  • Method Details

    • getRepoPath

      public String getRepoPath()
      Returns the repo path for the asset.
    • getFilePath

      public Path getFilePath()
      Sets the file path where the asset is temporarily being stored.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object