Class ValidationParameters
java.lang.Object
com.labs64.netlicensing.domain.vo.ValidationParameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Use the NodeLocked licensing model instead.getProductModuleValidationParameters
(String productModuleNumber) isDryRun()
void
void
Sets the "dry run" modevoid
setForOfflineUse
(Boolean forOfflineUse) Indicates, that the validation response is intended the offline usevoid
setLicenseeName
(String licenseeName) Sets the name for the new licenseevoid
setLicenseeProperty
(String key, String value) void
setLicenseeSecret
(String licenseeSecret) Deprecated.Use the NodeLocked licensing model instead.void
setProductModuleValidationParameters
(String productModuleNumber, Map<String, String> productModuleParameters) void
setProductNumber
(String productNumber) Sets the target product
-
Constructor Details
-
ValidationParameters
public ValidationParameters()
-
-
Method Details
-
setProductNumber
Sets the target product- Parameters:
productNumber
- optional productNumber, must be provided in case licensee auto-create is enabled
-
getProductNumber
-
getLicenseeProperties
-
setLicenseeProperty
-
setLicenseeName
Sets the name for the new licensee- Parameters:
licenseeName
- optional human-readable licensee name in case licensee will be auto-created. This parameter must not be the name, but can be used to store any other useful string information with new licensees, up to 1000 characters.
-
getLicenseeName
-
setLicenseeSecret
Deprecated.Use the NodeLocked licensing model instead.Sets the licensee secret- Parameters:
licenseeSecret
- licensee secret stored on the client side. Refer to Licensee Secret documentation for details.
-
getLicenseeSecret
Deprecated.Use the NodeLocked licensing model instead.Gets the licensee secret -
setDryRun
Sets the "dry run" mode- Parameters:
dryRun
- if "true", validation will be executed in "dry run" mode, i.e. no modifications to any licenses.
-
isDryRun
-
setForOfflineUse
Indicates, that the validation response is intended the offline use- Parameters:
forOfflineUse
- if "true", validation response will be extended with data required for the offline use
-
isForOfflineUse
-
getParameters
-
getProductModuleValidationParameters
-
setProductModuleValidationParameters
-
put
-