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()
Returns the path of the file in the manifest.
|
String |
getRepositoryId()
Returns the unique id of the file if it exists in the repository.
|
long |
getSize()
Returns the size of the file at the time the manifest was generated.
|
SourceLocation |
getSourceLocation()
Returns whether the file lives in the repository or workspace
|
String |
getVersion()
Returns the version of the file if it was 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 manifestsourceLocation
- whether the job lives in the repository or workspacerepositoryId
- the unique id of the file if it exists in the repositoryversion
- the version of the file if it was versioned.size
- the size of the file at the time the manifest was generatedpublic String getPath()
public SourceLocation getSourceLocation()
public String getVersion()
public String getRepositoryId()
public long getSize()
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA