public class CloverStartup extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
CloverStartup.LicenseLoader
The License Loader interface provides a hook through which custom
license loaders can be implemented.
|
| Constructor and Description |
|---|
CloverStartup() |
| Modifier and Type | Method and Description |
|---|---|
static void |
loadLicense(Logger log) |
static void |
loadLicense(Logger log,
boolean fail) |
static void |
loadLicense(Logger log,
boolean fail,
long pluginInstallTs)
Load the Clover license and configure the CloverLicenseInfo object.
|
static void |
logVersionInfo(Logger log) |
static void |
setLicenseLoader(CloverStartup.LicenseLoader loader)
Set the CloverStartup license loader.
|
public static void loadLicense(Logger log)
public static void loadLicense(Logger log, boolean fail)
public static void loadLicense(Logger log, boolean fail, long pluginInstallTs)
log - where to write messagesfail - if true, throw runtime exceptions, otherwise just returnpluginInstallTs - if being loaded by an IDE plugin, then the ts the plugin was installedRuntimeException - if the license has reached its hard expiry time.public static void logVersionInfo(Logger log)
public static void setLicenseLoader(CloverStartup.LicenseLoader loader)
Copyright © 2024 OpenClover.org. All rights reserved.