Package | Description |
---|---|
com.atlassian.confluence.internal.health | |
com.atlassian.confluence.setup.johnson |
Modifier and Type | Method and Description |
---|---|
static JohnsonEventLevel |
JohnsonEventLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JohnsonEventLevel[] |
JohnsonEventLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static JohnsonEventLevel |
JohnsonEventLevel.withName(String levelName)
Returns the enum value with the given level name.
|
Modifier and Type | Method and Description |
---|---|
static @NonNull Predicate<com.atlassian.johnson.event.Event> |
JohnsonEventPredicates.hasLevel(JohnsonEventLevel eventLevel)
Returns a predicate that checks whether the event has exactly the given level.
|
boolean |
JohnsonEventLevel.isAtLeast(JohnsonEventLevel minimumLevel)
Indicates whether this event level is at least as severe as the given level.
|
Modifier and Type | Method and Description |
---|---|
static Optional<JohnsonEventLevel> |
JohnsonUtils.findHighestEventLevel()
Returns the highest event level within the initialised Johnson container, if any.
|
static Optional<JohnsonEventLevel> |
JohnsonUtils.findHighestEventLevel(com.atlassian.johnson.JohnsonEventContainer eventContainer)
Returns the highest event level within the given event container, if any.
|
Modifier and Type | Method and Description |
---|---|
static com.atlassian.johnson.event.Event |
JohnsonUtils.raiseJohnsonEvent(JohnsonEventType eventType,
String eventDescription,
@Nullable String exception,
JohnsonEventLevel eventLevel)
Raises an
Event with the given properties in the currently initialised Johnson container. |
static com.atlassian.johnson.event.Event |
JohnsonUtils.raiseJohnsonEventRequiringTranslation(JohnsonEventType eventType,
String i18nKey,
@Nullable String exception,
JohnsonEventLevel eventLevel)
Raises an
Event whose description requires translation in the currently initialised Johnson container. |
Copyright © 2003–2021 Atlassian. All rights reserved.