public final class LicenseChecker extends Object
Modifier and Type | Method and Description |
---|---|
License.ProductLicense |
check(LicenseContext context)
Returns the matching product license for the given license resource and context.
|
static LicenseChecker |
create(org.springframework.core.io.Resource licenseResource)
Creates a new instance of a license checker for the given license resource.
|
License |
getLicense()
Returns the license against which validation takes place.
|
public License getLicense()
public License.ProductLicense check(LicenseContext context)
context
- the license context to checkpublic static LicenseChecker create(org.springframework.core.io.Resource licenseResource)
licenseResource
- the license resourceCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.