public static class LicenseData.LicenseDataBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
LicenseData.LicenseDataBuilder |
allowOverages(boolean allowOverages)
License settings if the license allows overages (used in licences with type
LicenseType.CONSUMPTION) |
LicenseData |
build() |
LicenseData.LicenseDataBuilder |
canBorrow(boolean canBorrow)
Indicates whether a license can be borrowed.
|
LicenseData.LicenseDataBuilder |
consumptionPeriod(ConsumptionPeriod consumptionPeriod)
Period when the consumption uses (and overages if enabled) are reset
ConsumptionPeriod |
LicenseData.LicenseDataBuilder |
customer(Customer customer)
Customer who purchased this particular license
|
LicenseData.LicenseDataBuilder |
customFields(List<CustomField> customFields)
List of custom fields that can be set in LicenseSpring platform.
|
LicenseData.LicenseDataBuilder |
deviceId(Long deviceId)
Device ID represents the unique identifier of the device associated with the license.
|
LicenseData.LicenseDataBuilder |
floatingInUse(Boolean floatingInUse)
Used only with floating cloud/on-premises setup.
|
LicenseData.LicenseDataBuilder |
floatingInUseDevices(Integer floatingInUseDevices)
Used only with floating cloud/on-premises setup.
|
LicenseData.LicenseDataBuilder |
floatingTimeout(int floatingTimeout)
Used only with floating cloud/on-premises setup.
|
LicenseData.LicenseDataBuilder |
floatingUsers(int floatingUsers)
Used only with floating cloud/on-premises setup.
|
LicenseData.LicenseDataBuilder |
id(Long id)
License ID represents the unique identifier of the license.
|
LicenseData.LicenseDataBuilder |
isAirGapped(boolean isAirGapped)
Used only with Air Gapped Licensing.
|
LicenseData.LicenseDataBuilder |
isFloating(Boolean isFloating)
Used only with on-premise floating setup (using an on-premise server).
|
LicenseData.LicenseDataBuilder |
isFloatingCloud(boolean isFloatingCloud)
Used only with floating cloud setup.
|
LicenseData.LicenseDataBuilder |
isTrial(boolean isTrial)
Trial licenses have limitations that can be set.
|
LicenseData.LicenseDataBuilder |
licenseSignature(String licenseSignature)
Signature that is used to sign this license by the LS servers.
|
LicenseData.LicenseDataBuilder |
licenseType(LicenseType licenseType)
Possible license types:
PERPETUAL, SUBSCRIPTION, TIME-LIMITED, CONSUMPTION, UNKNOWN
|
LicenseData.LicenseDataBuilder |
maintenancePeriod(ZonedDateTime maintenancePeriod)
Maintenance period of license.
|
LicenseData.LicenseDataBuilder |
maxActivations(int maxActivations)
The maximum number of active devices that can share this license.
|
LicenseData.LicenseDataBuilder |
maxBorrowTime(int maxBorrowTime)
Maximum period a license can be borrowed measured in hours.
|
LicenseData.LicenseDataBuilder |
maxConsumptions(Integer maxConsumptions)
Maximal consumptions of this license.
|
LicenseData.LicenseDataBuilder |
maxOverages(int maxOverages)
Maximal overages of this license (uses after consumptions have been used up).
|
LicenseData.LicenseDataBuilder |
preventVm(boolean preventVm)
License settings if the license if permitted to run on VMs
|
LicenseData.LicenseDataBuilder |
productDetails(Product productDetails)
The parent product assigned to this license.
|
LicenseData.LicenseDataBuilder |
productFeatures(List<LicenseFeature> productFeatures)
Each license can have it's own list of features included.
|
LicenseData.LicenseDataBuilder |
resetConsumption(Boolean resetConsumption)
Settings for licences with
LicenseType.CONSUMPTION type. |
LicenseData.LicenseDataBuilder |
timesActivated(int timesActivated)
Number of times this license is activated.
|
String |
toString() |
LicenseData.LicenseDataBuilder |
totalConsumptions(Integer totalConsumptions)
Total consumptions of this license as seen by the LS servers.
|
LicenseData.LicenseDataBuilder |
transferCount(int transferCount)
Counts the number of license transfers between different devices.
|
LicenseData.LicenseDataBuilder |
validityPeriod(ZonedDateTime validityPeriod)
After validity period passes license will become invalid.
|
public LicenseData.LicenseDataBuilder id(Long id)
this.public LicenseData.LicenseDataBuilder deviceId(Long deviceId)
this.public LicenseData.LicenseDataBuilder licenseSignature(String licenseSignature)
this.public LicenseData.LicenseDataBuilder licenseType(LicenseType licenseType)
this.public LicenseData.LicenseDataBuilder isTrial(boolean isTrial)
this.public LicenseData.LicenseDataBuilder productFeatures(List<LicenseFeature> productFeatures)
this.public LicenseData.LicenseDataBuilder customFields(List<CustomField> customFields)
this.public LicenseData.LicenseDataBuilder validityPeriod(ZonedDateTime validityPeriod)
LicenseType.TIME_LIMITED type of license.this.public LicenseData.LicenseDataBuilder maintenancePeriod(ZonedDateTime maintenancePeriod)
this.public LicenseData.LicenseDataBuilder maxActivations(int maxActivations)
this.public LicenseData.LicenseDataBuilder timesActivated(int timesActivated)
this.public LicenseData.LicenseDataBuilder transferCount(int transferCount)
this.public LicenseData.LicenseDataBuilder preventVm(boolean preventVm)
this.public LicenseData.LicenseDataBuilder customer(Customer customer)
this.public LicenseData.LicenseDataBuilder productDetails(Product productDetails)
this.public LicenseData.LicenseDataBuilder totalConsumptions(Integer totalConsumptions)
LicenseData.licenseType is not LicenseType.CONSUMPTIONthis.public LicenseData.LicenseDataBuilder maxConsumptions(Integer maxConsumptions)
LicenseData.licenseType is not LicenseType.CONSUMPTIONthis.public LicenseData.LicenseDataBuilder allowOverages(boolean allowOverages)
LicenseType.CONSUMPTION)this.public LicenseData.LicenseDataBuilder maxOverages(int maxOverages)
LicenseData.licenseType is not LicenseType.CONSUMPTIONthis.public LicenseData.LicenseDataBuilder resetConsumption(Boolean resetConsumption)
LicenseType.CONSUMPTION type.
Indicates if consumptions reset after a defined period.
if true, will also have the LicenseData.consumptionPeriod fieldthis.public LicenseData.LicenseDataBuilder consumptionPeriod(ConsumptionPeriod consumptionPeriod)
ConsumptionPeriodthis.public LicenseData.LicenseDataBuilder isFloatingCloud(boolean isFloatingCloud)
this.public LicenseData.LicenseDataBuilder isFloating(Boolean isFloating)
this.public LicenseData.LicenseDataBuilder floatingUsers(int floatingUsers)
this.public LicenseData.LicenseDataBuilder floatingTimeout(int floatingTimeout)
this.public LicenseData.LicenseDataBuilder floatingInUseDevices(Integer floatingInUseDevices)
this.public LicenseData.LicenseDataBuilder floatingInUse(Boolean floatingInUse)
this.public LicenseData.LicenseDataBuilder isAirGapped(boolean isAirGapped)
this.public LicenseData.LicenseDataBuilder canBorrow(boolean canBorrow)
this.public LicenseData.LicenseDataBuilder maxBorrowTime(int maxBorrowTime)
this.public LicenseData build()
Copyright © 2024 Cense Data Inc.. All rights reserved.