public class

SystemPluginsEnabledStartupCheck

extends Object
implements StartupCheck
java.lang.Object
   ↳ com.atlassian.jira.startup.SystemPluginsEnabledStartupCheck

Class Overview

Checks that all system plugins have been enabled.

Summary

Public Constructors
SystemPluginsEnabledStartupCheck()
Creates a new SystemPluginsEnabledStartupCheck.
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()
Returns true if all system plugins were enabled at the time that this check was first performed.
void stop()
Called when the instance is coming down
Protected Methods
ImmutableList<SystemPluginsEnabledStartupCheck.PluginInfo> calculateDisabledSystemPlugins()
Returns a list containing the system (i.e.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.startup.StartupCheck

Public Constructors

public SystemPluginsEnabledStartupCheck ()

Creates a new SystemPluginsEnabledStartupCheck.

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 ()

Returns true if all system plugins were enabled at the time that this check was first performed.

Returns
  • a boolean indicating if all system plugins are enabled

public void stop ()

Called when the instance is coming down

Protected Methods

protected ImmutableList<SystemPluginsEnabledStartupCheck.PluginInfo> calculateDisabledSystemPlugins ()

Returns a list containing the system (i.e. non-optional) plugins that are not currently enabled.

Returns
  • an ImmutableList of PluginInfo