Package com.sas.lsaf.execution.job
Class ManifestRepositoryFile
java.lang.Object
com.sas.lsaf.execution.job.ManifestFile
com.sas.lsaf.execution.job.ManifestRepositoryFile
- All Implemented Interfaces:
Serializable
The client representation of a repository file that is referenced in a job manifest file.
- Since:
- 2.4
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sas.lsaf.execution.job.ManifestFile
getLastModified, getName, getPath, getSize, isRepositoryFile, isWorkspaceFile
-
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
Description copied from class:ManifestFileGets the unique identifier, if the manifest file is a repository file. Otherwise, returns null.- Overrides:
getIdin classManifestFile- Returns:
- The unique identifier, if the manifest file is a repository file. Otherwise, null.
-
getVersion
Description copied from class:ManifestFileGets the version, if the manifest file is a repository that is versioned. Otherwise, returns null.- Overrides:
getVersionin classManifestFile- Returns:
- The version, if the manifest file is a repository that is versioned. Otherwise, null.
-
hashCode
public int hashCode()- Overrides:
hashCodein classManifestFile
-
equals
- Overrides:
equalsin classManifestFile
-
toString
- Overrides:
toStringin classManifestFile
-