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.active(Boolean active)
Is License active.
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.allowGracePeriod(Boolean allowGracePeriod)
Is grace period allowed.
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.allowNegativeConsumptions(Boolean allowNegativeConsumptions)
Are negative consumptions allowed
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.allowOverages(boolean allowOverages)
Are overages allowed.
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.allowUnlimitedActivations(Boolean allowUnlimitedActivations)
Are unlimited activations allowed.
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.allowUnlimitedConsumptions(Boolean allowUnlimitedConsumptions)
Are unlimited consumptions allowed.
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.borrowedUntil(ZonedDateTime borrowedUntil)
Indicates time until license is borrowed.
|
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.date(String date)
Date
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.deviceId(Long deviceId)
Device ID represents the unique identifier of the device associated with the license.
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.enableMaintenancePeriod(Boolean enableMaintenancePeriod)
Is maintenance period enabled.
|
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.gracePeriod(int gracePeriod)
Grace period
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.hardwareId(String hardwareId)
Hardware ID.
|
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.isBorrowed(Boolean isBorrowed)
Indicates whether a license is borrowed.
|
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.isHardwareKeyAuth(Boolean isHardwareKeyAuth)
Is hardware key auth
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.isTrial(boolean isTrial)
Trial licenses have limitations that can be set.
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.licenseKey(String licenseKey)
License key.
|
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.maxTransfers(int maxTransfers)
Max transfers.
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.metadata(com.google.gson.JsonElement metadata)
JSON metadata of the license.
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.offlineSignature(String offlineSignature)
Offline signature.
|
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 its own list of features included.
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.request(String request)
"activation" or "deactivation"
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.requestId(String requestId)
Request ID
|
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.user(LicenseUser user)
The
LicenseUser object present in user based licenses |
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.validityPeriod(ZonedDateTime validityPeriod)
After validity period passes license will become invalid.
|
LicenseData.LicenseDataBuilder |
LicenseData.LicenseDataBuilder.variables(List<DeviceVariable> variables)
Device variables.
|
Copyright © 2025 Cense Data Inc.. All rights reserved.