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