public class ManifestRepositoryFile extends ManifestFile
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getId()
Gets the unique identifier, if the manifest file is a repository file.
|
String |
getVersion()
Gets the version, if the manifest file is a repository that is versioned.
|
int |
hashCode() |
String |
toString() |
getLastModified, getName, getPath, getSize, isRepositoryFile, isWorkspaceFile
public ManifestRepositoryFile(String id, String version, String path, String name, Date lastModified, Long size)
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.public String getId()
ManifestFile
getId
in class ManifestFile
public String getVersion()
ManifestFile
getVersion
in class ManifestFile
public int hashCode()
hashCode
in class ManifestFile
public boolean equals(Object obj)
equals
in class ManifestFile
public String toString()
toString
in class ManifestFile
<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>