Class ManifestRepositoryFile

java.lang.Object
com.sas.lsaf.execution.job.ManifestFile
com.sas.lsaf.execution.job.ManifestRepositoryFile
All Implemented Interfaces:
Serializable

public class ManifestRepositoryFile extends ManifestFile
The client representation of a repository file that is referenced in a job manifest file.
Since:
2.4
See Also:
  • Constructor Details

    • ManifestRepositoryFile

      public ManifestRepositoryFile(String id, String version, String path, String name, Date lastModified, Long size)
      It is not intended or recommended that the consumer of the API construct these objects. They should only deal with the manifest repository file objects returned by the API.
      Parameters:
      id - The unique identifier of the repository file.
      version - The version of the file (if it is versioned).
      path - The full path to the file, which includes the name.
      name - The name of the file.
      lastModified - The date on which the file was last modified.
      size - The size (in bytes) of the file.
  • Method Details

    • getId

      public String getId()
      Description copied from class: ManifestFile
      Gets the unique identifier, if the manifest file is a repository file. Otherwise, returns null.
      Overrides:
      getId in class ManifestFile
      Returns:
      The unique identifier, if the manifest file is a repository file. Otherwise, null.
    • getVersion

      public String getVersion()
      Description copied from class: ManifestFile
      Gets the version, if the manifest file is a repository that is versioned. Otherwise, returns null.
      Overrides:
      getVersion in class ManifestFile
      Returns:
      The version, if the manifest file is a repository that is versioned. Otherwise, null.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ManifestFile
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class ManifestFile
    • toString

      public String toString()
      Overrides:
      toString in class ManifestFile