@Internal @ParametersAreNonnullByDefault public class ConfluenceLicenseUtils extends Object
| Modifier and Type | Field and Description | 
|---|---|
static com.atlassian.extras.api.Product | 
CONFLUENCE_QUESTION  | 
| Constructor and Description | 
|---|
ConfluenceLicenseUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static long | 
getSupportPeriodAlmostExpiredDate(com.atlassian.extras.api.confluence.ConfluenceLicense license)  | 
static long | 
getSupportPeriodEnd(com.atlassian.extras.api.confluence.ConfluenceLicense license)
Calculates the end of the support period (during which customers are entitled to updates and commercial support) 
 | 
static boolean | 
isDataCenter(com.atlassian.extras.api.confluence.ConfluenceLicense license)
Deprecated. 
 
since 5.9.1. Use  
ProductLicense.isClusteringEnabled() instead. | 
static com.atlassian.fugue.Option<Integer> | 
numberOfClusterNodes(com.atlassian.extras.api.confluence.ConfluenceLicense license)
Deprecated. 
 
since 5.9.1. Use  
ConfluenceLicense.getMaximumNumberOfClusterNodes() instead. | 
public static final com.atlassian.extras.api.Product CONFLUENCE_QUESTION
@Deprecated public static boolean isDataCenter(com.atlassian.extras.api.confluence.ConfluenceLicense license)
ProductLicense.isClusteringEnabled() instead.license - the license to check.Note: this method should be removed, see CONFDEV-26238 for details.
@Deprecated @Nonnull public static com.atlassian.fugue.Option<Integer> numberOfClusterNodes(com.atlassian.extras.api.confluence.ConfluenceLicense license)
ConfluenceLicense.getMaximumNumberOfClusterNodes() instead.license - the license to look withinpublic static long getSupportPeriodEnd(com.atlassian.extras.api.confluence.ConfluenceLicense license)
license - the license for which to calculate the support period end datepublic static long getSupportPeriodAlmostExpiredDate(com.atlassian.extras.api.confluence.ConfluenceLicense license)
Copyright © 2003–2016 Atlassian. All rights reserved.