public interface MavenProxy
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DOWNLOAD_TYPE |
static java.lang.String |
UPLOAD_TYPE |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
download(java.lang.String path)
Downloads a
File from the MavenProxy. |
void |
start() |
void |
stop() |
boolean |
upload(java.io.InputStream is,
java.lang.String path)
Upload a
File to the MavenProxy. |
static final java.lang.String UPLOAD_TYPE
static final java.lang.String DOWNLOAD_TYPE
void start()
throws java.io.IOException
java.io.IOExceptionvoid stop()
java.io.File download(java.lang.String path)
throws InvalidMavenArtifactRequest
File from the MavenProxy.path - The path from which to download the File.InvalidMavenArtifactRequestboolean upload(java.io.InputStream is,
java.lang.String path)
throws InvalidMavenArtifactRequest
File to the MavenProxy.is - The InputStream to upload.path - The upload path.InvalidMavenArtifactRequestCopyright © 2014 Red Hat. All Rights Reserved.