| Package | Description |
|---|---|
| org.axway.grapes.utils.client |
| Modifier and Type | Method and Description |
|---|---|
void |
GrapesClient.addLicense(String gavc,
String licenseId,
String user,
String password)
Add a license to an artifact
|
void |
GrapesClient.approveLicense(String licenseId,
Boolean approve,
String user,
String password)
Approve or reject a license
|
void |
GrapesClient.deleteArtifact(String gavc,
String user,
String password)
Delete an artifact in the Grapes server
|
void |
GrapesClient.deleteLicense(String licenseId,
String user,
String password)
Delete a license in the server
|
void |
GrapesClient.deleteModule(String name,
String version,
String user,
String password)
Delete a module from Grapes server
|
Artifact |
GrapesClient.getArtifact(String gavc)
Send a get artifact request
|
String |
GrapesClient.getArtifactLastVersion(String gavc)
Returns the artifact last version
|
List<Artifact> |
GrapesClient.getArtifacts(Boolean isCorporate,
Boolean hasLicense)
Send a get artifacts request
|
List<String> |
GrapesClient.getArtifactVersions(String gavc)
Returns the artifact available versions
|
List<String> |
GrapesClient.getCorporateFilters()
Returns the list of corporate filters
|
License |
GrapesClient.getLicense(String licenseId)
Send a get license request
|
Module |
GrapesClient.getModule(String name,
String version)
Send a get module request
|
List<Dependency> |
GrapesClient.getModuleAncestors(String moduleName,
String moduleVersion)
Return the list of module ancestors
|
List<Dependency> |
GrapesClient.getModuleDependencies(String moduleName,
String moduleVersion,
Boolean fullRecursive,
Boolean corporate,
Boolean thirdParty)
Return the list of module dependencies
|
Boolean |
GrapesClient.moduleCanBePromoted(String name,
String version)
Promote a module in the Grapes server
|
void |
GrapesClient.postArtifact(Artifact artifact,
String user,
String password)
Post an artifact to the Grapes server
|
void |
GrapesClient.postDoNotUseArtifact(String gavc,
Boolean doNotUse,
String user,
String password)
Post boolean flag "DO_NOT_USE" to an artifact
|
void |
GrapesClient.postLicense(License license,
String user,
String password)
Post a license to the server
|
void |
GrapesClient.postModule(Module module,
String user,
String password)
Post a module to the server
|
void |
GrapesClient.promoteModule(String name,
String version,
String user,
String password)
Promote a module in the Grapes server
|
Copyright © 2014. All Rights Reserved.