public class PackageRequest extends AbstractOssIndexRequest implements IPackageRequest
| Constructor and Description |
|---|
PackageRequest() |
| Modifier and Type | Method and Description |
|---|---|
PackageDescriptor |
add(String pm,
String groupId,
String artifactId,
String version)
Add a new artifact to search for.
|
Collection<PackageDescriptor> |
run()
Execute the request.
|
addProxy, addProxy, performGetRequest, performPostRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProxypublic PackageDescriptor add(String pm, String groupId, String artifactId, String version)
IPackageRequestadd in interface IPackageRequestpm - Name of the package managergroupId - Group ID for the packageartifactId - Artifact ID for the packageversion - Version number for requestpublic Collection<PackageDescriptor> run() throws IOException
IPackageRequestrun in interface IPackageRequestIOExceptionCopyright © 2017. All rights reserved.