Package org.apache.maven.repository
Interface ArtifactTransferResource
Deprecated.
Describes a resource being uploaded or downloaded by the repository system.
- 
Method SummaryModifier and TypeMethodDescriptionlongDeprecated.The size of the artifact in bytes.getName()Deprecated.The path of the artifact relative to the repository's base URL.Deprecated.The base URL of the repository, e.g.longDeprecated.Gets the timestamp when the transfer of this artifact was started.getUrl()Deprecated.Gets the full URL of the artifact.
- 
Method Details- 
getRepositoryUrlString getRepositoryUrl()Deprecated.The base URL of the repository, e.g. "http://repo1.maven.org/maven2/". Unless the URL is unknown, it will be terminated by a trailing slash.- Returns:
- The base URL of the repository or an empty string if unknown, never null.
 
- 
getNameString getName()Deprecated.The path of the artifact relative to the repository's base URL.- Returns:
- The path of the artifact, never null.
 
- 
getUrlString getUrl()Deprecated.Gets the full URL of the artifact.- Returns:
- The full URL of the artifact, never null.
 
- 
getContentLengthlong getContentLength()Deprecated.The size of the artifact in bytes.- Returns:
- The of the artifact in bytes or a negative value if unknown.
 
- 
getTransferStartTimelong getTransferStartTime()Deprecated.Gets the timestamp when the transfer of this artifact was started.- Returns:
- The timestamp when the transfer of this artifact was started.
 
 
-