Package com.sas.lsaf.execution.job
Class ManifestFileRef
java.lang.Object
com.sas.lsaf.execution.job.ManifestFileRef
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ManifestInput,ManifestJob,ManifestOutput,ManifestProgram,ManifestSystemFile
Abstract base class for the files that are in a manifest file that exist in the current user's workspace or
repository.
- Since:
- 2.4
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionManifestFileRef(ManifestFile file) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFile()Gets the file object that represents a file tha tis referenced in a job submission.getId()Gets the unique identifier, if the manifest file is a repository file.Gets the date on which the file was last modified.getName()The name of the file that is referenced in a job submission.getPath()The path to the file that is referenced in a job submission.Gets the version, if the manifest file is a repository that is versioned.inthashCode()booleanIndicates whether the file is a repository file.booleanIndicates whether the file is a workspace file.toString()
-
Constructor Details
-
ManifestFileRef
It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the manifest files that are returned by the API.- Parameters:
file- The file object that represents an output file the job submission.
-
-
Method Details
-
getFile
Gets the file object that represents a file tha tis referenced in a job submission.- Returns:
- The file object.
-
getPath
The path to the file that is referenced in a job submission.- Returns:
- The path to the file.
-
getName
The name of the file that is referenced in a job submission.- Returns:
- The name of the file.
-
getLastModified
Gets the date on which the file was last modified.- Returns:
- The date.
-
getId
Gets the unique identifier, if the manifest file is a repository file. Otherwise, returns null.- Returns:
- The unique identifier.
-
getVersion
Gets the version, if the manifest file is a repository that is versioned. Otherwise, returns null.- Returns:
- The version.
-
isRepositoryFile
public boolean isRepositoryFile()Indicates whether the file is a repository file.- Returns:
True, if the file is a repository file,Falseotherwise.
-
isWorkspaceFile
public boolean isWorkspaceFile()Indicates whether the file is a workspace file.- Returns:
Trueif the file is a workspace file,Falseotherwise.
-
hashCode
public int hashCode() -
equals
-
toString
-