LLM-2956: license: Add JBAccountInfoService.issueTrialLicense()

GitOrigin-RevId: 112ccda56ea29d5d92441a07067fe58df73b2567
This commit is contained in:
Eldar Abusalimov
2024-07-02 17:19:24 +02:00
committed by intellij-monorepo-bot
parent dcdd61f6a0
commit 3f9aae4213
2 changed files with 9 additions and 3 deletions

View File

@@ -51,6 +51,9 @@ public interface JBAccountInfoService {
@SuppressWarnings("unused")
@NotNull CompletableFuture<@NotNull LicenseListResult> getAvailableLicenses(@NotNull String productCode);
@SuppressWarnings("unused")
@NotNull CompletableFuture<@NotNull LicenseListResult> issueTrialLicense(@NotNull String productCode, @NotNull List<String> consentOptions);
static @Nullable JBAccountInfoService getInstance() {
return JBAccountInfoServiceHolder.INSTANCE;
}

View File

@@ -24,9 +24,12 @@ object DummyJBAccountInfoService : JBAccountInfoService {
TODO("Not yet implemented")
}
override fun getAvailableLicenses(
productCode: String,
): CompletableFuture<JBAccountInfoService.LicenseListResult> {
override fun getAvailableLicenses(productCode: String): CompletableFuture<JBAccountInfoService.LicenseListResult> {
TODO("Not yet implemented")
}
override fun issueTrialLicense(productCode: String,
consentOptions: List<String>): CompletableFuture<JBAccountInfoService.LicenseListResult> {
TODO("Not yet implemented")
}