Interface LicenseManager
public interface LicenseManager
-
Method Summary
Modifier and TypeMethodDescriptiongetLicense(String clusterId, String categoryShortName) Returns the license with the givencategoryShortNamefor the cluster, if present.getLicenses(String clusterId) Returns the licenses for the cluster with the givenclusterId(active and expired).updateLicense(String clusterId, String licenseJwt, boolean dryRun) ValidateslicenseJwtand stores it (or validates only whendryRun), returning the resulting state.
-
Method Details
-
getLicenses
Returns the licenses for the cluster with the givenclusterId(active and expired). -
getLicense
Returns the license with the givencategoryShortNamefor the cluster, if present. -
updateLicense
CompletableFuture<LicenseUpdateResult> updateLicense(String clusterId, String licenseJwt, boolean dryRun) ValidateslicenseJwtand stores it (or validates only whendryRun), returning the resulting state.
-