Modifier and Type | Class and Description |
---|---|
class |
FakeHealthCheck
This fake
HealthCheck allows the operator
to simulate a health check failure, for example to test:
The Johnson infrastructure (manually or via automation), or
The "hide.system.error.details " flag.
|
Modifier and Type | Class and Description |
---|---|
class |
BuildVersionCheck
This is a database check that verifies that user is not running old version of JIRA on the data in the database
created by more recent version of JIRA.
|
class |
CollationHealthCheck
A health check which checks that the collation being used by the current database is one that JIRA supports.
|
class |
JdbcDriverHealthCheck
Checks that a valid JDBC driver is available.
|
class |
MinimumUpgradableVersionHealthCheck
Ensure that the current data is recent enough to be upgraded to this version of JIRA
Sometimes upgrades from very old versions need to be performed by first upgrading to an intermediate version.
|
class |
MSSQLDriverMigrationHealthCheck |
class |
MySqlJdbcUrlHealthCheck
If JIRA is using MySQL, this HealthCheck checks whether the JDBC URL contains the deprecated parameter 'storage_engine'.
|
class |
PostgresSchemaHealthCheck
A checker that will print a log message if the database is Postgres and the schema name contains upper case.
|
class |
PublicSchemaHealthCheck
A HealthCheck that looks in the entityengine.xml for a specific
misconfiguration, the combination of setting schema-name to PUBLIC
(upper case) on a database other than H2 or HSQL.
|
class |
UnsupportedHsqlHealthCheck
Check that we are not trying to use HSQL, which is unsupported
|
Constructor and Description |
---|
BuildVersionCheck(HealthCheck... prerequisites) |
CollationHealthCheck(HealthCheck... prerequisites) |
JdbcDriverHealthCheck(HealthCheck... prerequisites) |
MinimumUpgradableVersionHealthCheck(HealthCheck... prerequisites) |
MSSQLDriverMigrationHealthCheck(HealthCheck... prerequisites) |
MySqlJdbcUrlHealthCheck(HealthCheck... prerequisites) |
PostgresSchemaHealthCheck(HealthCheck... prerequisites) |
PublicSchemaHealthCheck(HealthCheck... prerequisites) |
UnsupportedHsqlHealthCheck(HealthCheck... prerequisites) |
Modifier and Type | Class and Description |
---|---|
class |
ClusterLicenseHealthCheck
Checks that this instance is appropriately licensed for clustered operation ("Data Center").
|
class |
NodeIdHealthCheck
A
HealthCheck that checks the node ID used in a JIRA DC cluster. |
class |
SharedHomeHealthCheck
Health check that verifies the shared home is specified and isn't the same as the local home.
|
Modifier and Type | Method and Description |
---|---|
static NodeIdHealthCheck |
NodeIdHealthCheck.getInstance(HealthCheck... prerequisites)
Returns an instance of this health check, looking up its dependencies from
ComponentAccessor . |
static ClusterLicenseHealthCheck |
ClusterLicenseHealthCheck.getInstance(HealthCheck... prerequisites) |
static SharedHomeHealthCheck |
SharedHomeHealthCheck.getInstance(HealthCheck... prerequisites)
Returns an instance of this health check, looking up its dependencies from
ComponentAccessor . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHealthCheck
Convenient superclass for health checks.
|
class |
HealthCheckTemplate
Simplies the implementation of
HealthCheck s. |
Modifier and Type | Method and Description |
---|---|
HealthCheck |
HealthCheckResult.getHealthCheck()
Returns the check that gave rise to this result.
|
HealthCheck |
DefaultHealthCheckExecutor.PrerequisiteNotInPhaseException.getHealthCheck() |
Modifier and Type | Method and Description |
---|---|
Collection<HealthCheck> |
HealthCheckRegistry.getAll()
Returns the health checks in order of execution.
|
Collection<HealthCheck> |
DefaultHealthCheckRegistry.getAll() |
Collection<HealthCheck> |
AbstractHealthCheck.getPrerequisites() |
Collection<HealthCheck> |
HealthCheck.getPrerequisites()
Returns the checks that must have a non-
EventLevel.FATAL
result before this check can be run. |
Modifier and Type | Method and Description |
---|---|
static List<HealthCheckResult> |
HealthCheckResult.fail(HealthCheck healthCheck,
com.atlassian.johnson.event.Event event,
URL kbUrl,
String cause,
String logMessage)
Create a 'failed' result containing the given parameters.
|
void |
HealthCheckRegistry.register(HealthCheck... healthChecks)
Registers the given health check(s) for later execution.
|
void |
DefaultHealthCheckRegistry.register(HealthCheck... healthChecks) |
Modifier and Type | Method and Description |
---|---|
protected io.atlassian.fugue.Pair<Collection<Exception>,Set<HealthCheckResult>> |
DefaultHealthCheckExecutor.applyAndCollectExceptions(Collection<HealthCheck> healthChecks,
LifecyclePhase lifecyclePhase) |
Set<HealthCheckResult> |
HealthCheckExecutor.performHealthChecks(Collection<HealthCheck> healthChecks,
LifecyclePhase lifecyclePhase)
Executes given health checks for the given phase of the JIRA lifecycle.
|
Set<HealthCheckResult> |
DefaultHealthCheckExecutor.performHealthChecks(Collection<HealthCheck> healthChecks,
LifecyclePhase lifecyclePhase) |
Constructor and Description |
---|
HealthCheckResult(HealthCheck healthCheck,
com.atlassian.johnson.event.Event event,
URL kbUrl,
String cause,
String logMessage) |
PrerequisiteNotInPhaseException(String message,
HealthCheck healthCheck) |
Constructor and Description |
---|
AbstractHealthCheck(Iterable<HealthCheck> prerequisites) |
HealthCheckTemplate(Iterable<HealthCheck> prerequisites) |
Modifier and Type | Class and Description |
---|---|
class |
DbConfigurationAndConnectionCheck
Checks that JIRA can connect to its configured database.
|
class |
JiraHomeHealthCheck
Checks that JIRA can create or has a JIRA home directory.
|
class |
StandaloneLicenseHealthCheck
A
HealthCheck that checks for a valid license in standalone (non-clustered) mode. |
Modifier and Type | Method and Description |
---|---|
static StandaloneLicenseHealthCheck |
StandaloneLicenseHealthCheck.getInstance(HealthCheck... prerequisites)
Returns a new instance of this check.
|
Constructor and Description |
---|
DbConfigurationAndConnectionCheck(HealthCheck... prerequisites) |
JiraHomeHealthCheck(HealthCheck... prerequisites) |
Modifier and Type | Class and Description |
---|---|
class |
SystemPluginsEnabledHealthCheck
Checks that all system plugins have been enabled.
|
Constructor and Description |
---|
SystemPluginsEnabledHealthCheck(HealthCheck... prerequisites) |
Copyright © 2002-2017 Atlassian. All Rights Reserved.