public class

ClusterLicenseStartupCheck

extends Object
implements StartupCheck
java.lang.Object
   ↳ com.atlassian.jira.appconsistency.clustering.ClusterLicenseStartupCheck

Class Overview

Checks that this instance is appropriately licensed for clustered operation ("Data Center").

Note: This class was introduced in 6.3 as com.atlassian.jira.appconsistency.clustering.ClusterLicenseCheck, and has been renamed to its current name in 7.0.

Summary

Public Constructors
ClusterLicenseStartupCheck(ClusterLicenseCheck licenseCheck, I18nHelper i18nHelper, JiraLicenseManager licenseManager, Jira6xServiceDeskPluginEncodedLicenseSupplier serviceDeskLicenseSupplier)
Public Methods
String getFaultDescription()
Implement this method to return the description of the fault.
String getHTMLFaultDescription()
Implement this method to return the error message of the fault.
String getName()
Implement this method to return the name of this check
boolean isOk()
Implement this method to return true if the check is positive and false in the case of negative result.
void stop()
Called when the instance is coming down
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.startup.StartupCheck

Public Constructors

public ClusterLicenseStartupCheck (ClusterLicenseCheck licenseCheck, I18nHelper i18nHelper, JiraLicenseManager licenseManager, Jira6xServiceDeskPluginEncodedLicenseSupplier serviceDeskLicenseSupplier)

Public Methods

public String getFaultDescription ()

Implement this method to return the description of the fault. This method should return null in the case the check was positive. This message is used to present the user with a message to the console

Returns
  • fault description

public String getHTMLFaultDescription ()

Implement this method to return the error message of the fault. This method should return null in the case the check was positive. This message is used to present the user with a message viewable in a web browser.

Returns
  • HTML formatted fault description

public String getName ()

Implement this method to return the name of this check

Returns
  • name

public boolean isOk ()

Implement this method to return true if the check is positive and false in the case of negative result.

Returns
  • true if positive

public void stop ()

Called when the instance is coming down