@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface LicenseInformationProvider extends LicenseCategories, LicenseComponents
CATEGORY_ACADEMIC, CATEGORY_ACADEMIC_CLASSROOM, CATEGORY_ACADEMIC_DEPARTMENTAL, CATEGORY_ACADEMIC_FLOATING, CATEGORY_ACADEMIC_SITE, CATEGORY_ENTERPRISE, CATEGORY_ENTERPRISE_CORPORATE, CATEGORY_ENTERPRISE_FLOATING, CATEGORY_ENTERPRISE_SITE, CATEGORY_PROFESSIONAL, CATEGORY_PROFESSIONAL_CORPORATE, CATEGORY_PROFESSIONAL_FLOATING, CATEGORY_PROFESSIONAL_SITE
AUTHOR_COMPONENT_COMPONENT_NAME, AUTHOR_COMPONENT_NAME, DEBUGGER_COMPONENT_NAME, DEVELOPER_COMPONENT_NAME, DIFF_APPLICATION_COMPONENT_NAME, DIFF_SERVER_COMPONENT_NAME, EDITOR_COMPONENT_NAME, OXYGEN_SCRIPTING_COMPONENT_NAME, SAXON_SA_COMPONENT_NAME, SVN_CLIENT_COMPONENT_NAME, WEBAPP_COMPONENT_NAME
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategory()
Get the license category.
|
java.util.List<java.lang.String> |
getComponents()
Get the components which are currently licensed.
|
boolean |
isInViolationOfLicense()
Check if the current application has exceeded the amount of floating licenses allowed on a server.
|
boolean |
isLicensed()
Check if the current application is licensed or not.
|
boolean |
isPermanent()
Check if the Oxygen application is permanently licensed or has a trial license.
|
java.lang.String getCategory()
LicenseCategories
constants.
Can be null
if no license is available.LicenseCategories
constants.boolean isPermanent()
true
if the Oxygen application is permanently licensed or false
if it has a trial license.java.util.List<java.lang.String> getComponents()
LicenseComponents.EDITOR_COMPONENT_NAME
, LicenseComponents.SAXON_SA_COMPONENT_NAME
}.
Can be null
if no license is available.LicenseComponents.EDITOR_COMPONENT_NAME
, LicenseComponents.SAXON_SA_COMPONENT_NAME
}boolean isLicensed()
true
if there is a license for the current application or
false
if there is no license key for the current application.boolean isInViolationOfLicense()
true
if the current application has exceeded the amount of floating licenses allowed on a server.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.