Class LicenceConstants
- java.lang.Object
-
- de.aristaflow.adept2.model.common.LicenceConstants
-
public class LicenceConstants extends Object
This class contains editions for a licence as well as the features that can be licensed (and are not part of theBasic Edition
. It also provides the standard features for the other editions.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LicenceConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static Collection<String>
getDefaultFeaturesFor(String edition)
Gets the default features for the designated edition.protected static Collection<String>
getLicensedFeatures(LicenceInformation licInf)
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 boolean
isLicensed(String feature, LicenceInformation licInf)
Gets whether the designated feature is included in the designated licence.
-
-
-
Field Detail
-
CONF_PREFIX_PRODUCT
@Deprecated public static final String CONF_PREFIX_PRODUCT
Deprecated.The prefix for the configuration entries specifying products to be checked.- See Also:
- Constant Field Values
-
CONF_PREFIX_ADDITION
public static final String CONF_PREFIX_ADDITION
The prefix for the configuration entries specifying additions to be checked.- See Also:
- Constant Field Values
-
CONF_PREFIX_FEATURE
public static final String CONF_PREFIX_FEATURE
The prefix for the configuration entries specifying features to be checked.- See Also:
- Constant Field Values
-
PRODUCT_STANDALONE_PROCESS_TEMPLATE_EDITOR
@Deprecated public static final String PRODUCT_STANDALONE_PROCESS_TEMPLATE_EDITOR
Deprecated.The name for the product in the licence for the standalone process template editor.- See Also:
- Constant Field Values
-
PRODUCT_STANDALONE_TEST_CLIENT
@Deprecated public static final String PRODUCT_STANDALONE_TEST_CLIENT
Deprecated.The name for the product in the licence for the standalone test client.- See Also:
- Constant Field Values
-
PRODUCT_PROCESS_TEMPLATE_EDITOR
@Deprecated public static final String PRODUCT_PROCESS_TEMPLATE_EDITOR
Deprecated.The name for the product in the licence for the process template editor.- See Also:
- Constant Field Values
-
PRODUCT_FAILOVER_CLUSTER
@Deprecated public static final String PRODUCT_FAILOVER_CLUSTER
Deprecated.The name for the product in the licence for the failover cluster.- See Also:
- Constant Field Values
-
FEATURE_WEB_CLIENT
@Deprecated public static final String FEATURE_WEB_CLIENT
Deprecated.The name for the webclient feature.- See Also:
- Constant Field Values
-
FEATURE_PROCESS_FLEXIBILITY
@Deprecated public static final String FEATURE_PROCESS_FLEXIBILITY
Deprecated.The name for the process flexibility feature.- See Also:
- Constant Field Values
-
FEATURE_RUNTIME_FLEXIBILITY
@Deprecated public static final String FEATURE_RUNTIME_FLEXIBILITY
Deprecated.The name for the runtime flexibility feature.- See Also:
- Constant Field Values
-
FEATURE_FORM_DESIGNER
public static final String FEATURE_FORM_DESIGNER
- See Also:
- Constant Field Values
-
FEATURE_EXCEL_EXPORT
public static final String FEATURE_EXCEL_EXPORT
- See Also:
- Constant Field Values
-
FEATURE_OUTLOOK_ADDIN
public static final String FEATURE_OUTLOOK_ADDIN
- See Also:
- Constant Field Values
-
FEATURE_ESCALATION
public static final String FEATURE_ESCALATION
- See Also:
- Constant Field Values
-
FEATURE_COLLABORATION
public static final String FEATURE_COLLABORATION
- See Also:
- Constant Field Values
-
FEATURE_PROTOYPING
public static final String FEATURE_PROTOYPING
- See Also:
- Constant Field Values
-
FEATURE_MONITORING
public static final String FEATURE_MONITORING
- See Also:
- Constant Field Values
-
FEATURE_LDAP_CONNECTOR
public static final String FEATURE_LDAP_CONNECTOR
- See Also:
- Constant Field Values
-
FEATURE_CUSTOM_ACTIVITIES
public static final String FEATURE_CUSTOM_ACTIVITIES
- See Also:
- Constant Field Values
-
FEATURE_EVENTS
public static final String FEATURE_EVENTS
- See Also:
- Constant Field Values
-
FEATURE_FAILOVER_CLUSTER
public static final String FEATURE_FAILOVER_CLUSTER
- See Also:
- Constant Field Values
-
FEATURE_DEVELOPER_TOOLS
public static final String FEATURE_DEVELOPER_TOOLS
- See Also:
- Constant Field Values
-
FEATURE_ILM_API
public static final String FEATURE_ILM_API
- See Also:
- Constant Field Values
-
EDITION_BASIC
public static final String EDITION_BASIC
The Basic Edition.- See Also:
- Constant Field Values
-
EDITION_STANDARD
public static final String EDITION_STANDARD
The Standard Edition.- See Also:
- Constant Field Values
-
EDITION_PROFESSIONAL
public static final String EDITION_PROFESSIONAL
The Professional Edition.- See Also:
- Constant Field Values
-
-
Method Detail
-
isLicensed
public static boolean isLicensed(String feature, LicenceInformation licInf)
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
protected static final Collection<String> getLicensedFeatures(LicenceInformation licInf)
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
null
if the licence has neither a valid edition nor additional features.
-
getDefaultFeaturesFor
protected static final Collection<String> getDefaultFeaturesFor(String edition)
Gets the default features for the designated edition. If the designated string is not a valid edition,null
will be returned.- Parameters:
edition
- The edition for which to get the default features. If this is not a valid edition,null
will be returned.- Returns:
- The default features for the designated edition. If the designated string is not a
valid edition,
null
will be returned.
-
-