public class PackageVersionData extends Object implements Serializable
| Constructor and Description |
|---|
PackageVersionData() |
| Modifier and Type | Method and Description |
|---|---|
String |
getVersion(String packageKey)
Returns the package version associated with the package identified by the specified key.
|
void |
setVersion(String packageKey,
String version)
Updates the store with a new version for the package identified by the specified key.
|
public String getVersion(String packageKey)
packageKey - identifies the packagenull otherwisepublic void setVersion(String packageKey, String version)
packageKey - identifies the packageversion - version of the packageCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.