public class ActivationKeyPackagesCommand
extends java.lang.Object
Constructor and Description |
---|
ActivationKeyPackagesCommand(ActivationKey keyIn)
Constructor
|
Modifier and Type | Method and Description |
---|---|
ValidatorError |
parseAndUpdatePackages(java.lang.String packagesIn)
Parse the packages in the string provided and update the
activation key with the results.
|
java.lang.String |
populatePackages()
Generate a string representation of the packages associated
with the activation key.
|
ValidatorError |
store()
Save the ActivationKey data to DB
|
public ActivationKeyPackagesCommand(ActivationKey keyIn)
keyIn
- the Activation Key this command will operate onpublic java.lang.String populatePackages()
public ValidatorError parseAndUpdatePackages(java.lang.String packagesIn)
packagesIn
- the packages that will be parsedpublic ValidatorError store()