public class ManifestFile extends Object implements Serializable
Constructor and Description |
---|
ManifestFile(String path,
SourceLocation sourceLocation,
String repositoryId,
String version,
Long size)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPath()
Gets the path of the file in the manifest file.
|
String |
getRepositoryId()
Gets the unique identifier of the file, if the file exists in the repository.
|
long |
getSize()
Gets the size (in bytes) of the file at the time the manifest file was created.
|
SourceLocation |
getSourceLocation()
Gets the location of the file: the repository or the workspace.
|
String |
getVersion()
Gets the version of the file, if it is versioned.
|
int |
hashCode() |
String |
toString() |
public ManifestFile(String path, SourceLocation sourceLocation, String repositoryId, String version, Long size)
path
- The path of the file in the manifest file.sourceLocation
- The location of the job: the repository or the workspace.repositoryId
- The unique identifier of the file, if the file exists in the repository.version
- The version of the file, if it was versioned.size
- The size (in bytes) of the file at the time the manifest file was created.public String getPath()
public SourceLocation getSourceLocation()
public String getVersion()
public String getRepositoryId()
public long getSize()
Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA