Class HealthCheckAttributes
- java.lang.Object
-
- com.atlassian.confluence.internal.health.HealthCheckAttributes
-
public final class HealthCheckAttributes extends Object
Well-known keys and values of Johnson attributes used by startup health checks.- Since:
- 6.5.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
CAUSE_KEY
Checks which send analytics can provide a short cause which is analytics safe, i.e.static String
CHECK_ID_KEY
Checks that wish to have analytics events raised (e.g.static String
DISMISSIBLE
Boolean indicating whether or not an event is dismissible.static String
EVENT_ID_KEY
The unique ID of an individual Johnson event arising from a HealthCheck.static String
HELP_URL_KEY
Checks that wish to provide a help link to public-facing documentation should set this attribute to the relevant URL on the Johnson event that they return.static String
I18N_KEY_ATTRIBUTE
The name of the attribute under which the i18N key to be used is stored for Johnson events where the description requires translation prior to display.static String
JOHNSON_UI_VERSION
The Johnson event attribute that if present specifies what version of the Johnson UI is meant to display the events returned by this executor.static String
MODERN_JOHNSON
The value of theJOHNSON_UI_VERSION
attribute that indicates events are to be displayed in the "modern Johnson" UI added for CONFSRVDEV-2798.
-
-
-
Field Detail
-
CHECK_ID_KEY
public static final String CHECK_ID_KEY
Checks that wish to have analytics events raised (e.g. about their success or failure) should set this attribute to a unique key, e.g. "my-db-check". The value of this key should remain stable for as long as this check is defined.- See Also:
- Constant Field Values
-
EVENT_ID_KEY
public static final String EVENT_ID_KEY
The unique ID of an individual Johnson event arising from a HealthCheck.- See Also:
- Constant Field Values
-
HELP_URL_KEY
public static final String HELP_URL_KEY
Checks that wish to provide a help link to public-facing documentation should set this attribute to the relevant URL on the Johnson event that they return.- See Also:
- Constant Field Values
-
CAUSE_KEY
public static final String CAUSE_KEY
Checks which send analytics can provide a short cause which is analytics safe, i.e. does not contain any user data.- See Also:
- Constant Field Values
-
JOHNSON_UI_VERSION
public static final String JOHNSON_UI_VERSION
The Johnson event attribute that if present specifies what version of the Johnson UI is meant to display the events returned by this executor.- See Also:
Event.getAttribute(Object)
, Constant Field Values
-
MODERN_JOHNSON
public static final String MODERN_JOHNSON
The value of theJOHNSON_UI_VERSION
attribute that indicates events are to be displayed in the "modern Johnson" UI added for CONFSRVDEV-2798.- See Also:
Event.getAttribute(Object)
, Constant Field Values
-
I18N_KEY_ATTRIBUTE
public static final String I18N_KEY_ATTRIBUTE
The name of the attribute under which the i18N key to be used is stored for Johnson events where the description requires translation prior to display.- See Also:
Event.getAttribute(Object)
, Constant Field Values
-
DISMISSIBLE
public static final String DISMISSIBLE
Boolean indicating whether or not an event is dismissible.- See Also:
- Constant Field Values
-
-