Class LicenceConstants
java.lang.Object
de.aristaflow.adept2.model.common.LicenceConstants
This class contains editions for a licence as well as the features that can be licensed (and are
not part of the
Basic Edition. It also provides the standard features for
the other editions.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe prefix for the configuration entries specifying additions to be checked.static final StringThe prefix for the configuration entries specifying features to be checked.static final StringThe Basic Edition.static final StringThe Professional Edition.static final StringThe Standard Edition.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static final Collection<String>getDefaultFeaturesFor(String edition) Gets the default features for the designated edition.protected static final Collection<String>Gets all features for the designated licence, this includes the default features of the corresponding edition as well as the features that are additionally licensed.static booleanisLicensed(String feature, LicenceInformation licInf) Gets whether the designated feature is included in the designated licence.
-
Field Details
-
CONF_PREFIX_ADDITION
The prefix for the configuration entries specifying additions to be checked.- See Also:
-
CONF_PREFIX_FEATURE
The prefix for the configuration entries specifying features to be checked.- See Also:
-
FEATURE_FORM_DESIGNER
- See Also:
-
FEATURE_EXCEL_EXPORT
- See Also:
-
FEATURE_OUTLOOK_ADDIN
- See Also:
-
FEATURE_ESCALATION
- See Also:
-
FEATURE_COLLABORATION
- See Also:
-
FEATURE_PROTOYPING
- See Also:
-
FEATURE_MONITORING
- See Also:
-
FEATURE_LDAP_CONNECTOR
- See Also:
-
FEATURE_CUSTOM_ACTIVITIES
- See Also:
-
FEATURE_EVENTS
- See Also:
-
FEATURE_FAILOVER_CLUSTER
- See Also:
-
FEATURE_DEVELOPER_TOOLS
- See Also:
-
FEATURE_ILM_API
- See Also:
-
EDITION_BASIC
The Basic Edition.- See Also:
-
EDITION_STANDARD
The Standard Edition.- See Also:
-
EDITION_PROFESSIONAL
The Professional Edition.- See Also:
-
-
Constructor Details
-
LicenceConstants
public LicenceConstants()
-
-
Method Details
-
isLicensed
Gets whether the designated feature is included in the designated licence.- Parameters:
feature- The feature which to check for whether it is licensed.licInf- The licence including features (or not).- Returns:
- Whether the designated feature is included in the designated licence.
-
getLicensedFeatures
Gets all features for the designated licence, this includes the default features of the corresponding edition as well as the features that are additionally licensed.- Parameters:
licInf- The licence for which to get all included features.- Returns:
- All features included in the designated licence or
nullif the licence has neither a valid edition nor additional features.
-
getDefaultFeaturesFor
Gets the default features for the designated edition. If the designated string is not a valid edition,nullwill be returned.- Parameters:
edition- The edition for which to get the default features. If this is not a valid edition,nullwill be returned.- Returns:
- The default features for the designated edition. If the designated string is not a
valid edition,
nullwill be returned.
-