public class DefaultDownloadDetails extends java.lang.Object implements DownloadDetails
DownloadDetails| Constructor and Description |
|---|
DefaultDownloadDetails(org.gradle.api.file.RelativePath relativePath,
java.net.URL sourceURL) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName()
Get the name of the target file
|
java.lang.String |
getPath()
Get the path of the target file, relative to download directory
|
org.gradle.api.file.RelativePath |
getRelativePath()
Get the path of the target file, relative to download directory
|
java.net.URL |
getSourceURL()
Get the source URL
|
int |
hashCode() |
void |
setName(java.lang.String name)
Set the name of the target file
|
void |
setPath(java.lang.String path)
Set the path of the target file (including the filename)
|
void |
setRelativePath(org.gradle.api.file.RelativePath path)
Set the path of the target file (including the filename)
|
java.lang.String |
toString() |
public DefaultDownloadDetails(org.gradle.api.file.RelativePath relativePath,
java.net.URL sourceURL)
public void setName(java.lang.String name)
DownloadDetailssetName in interface DownloadDetailsname - the filenamepublic java.lang.String getName()
DownloadDetailsgetName in interface DownloadDetailspublic java.net.URL getSourceURL()
DownloadDetailsgetSourceURL in interface DownloadDetailspublic org.gradle.api.file.RelativePath getRelativePath()
DownloadDetailsgetRelativePath in interface DownloadDetailspublic void setRelativePath(org.gradle.api.file.RelativePath path)
DownloadDetailssetRelativePath in interface DownloadDetailspath - the path of the target file (including the filename)public java.lang.String getPath()
DownloadDetailsgetPath in interface DownloadDetailspublic void setPath(java.lang.String path)
DownloadDetailssetPath in interface DownloadDetailspath - the path of the target file (including the filename)public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object