Class JohnsonUtils
- java.lang.Object
-
- com.atlassian.confluence.plugins.opensearch.johnson.JohnsonUtils
-
public class JohnsonUtils extends Object
Utility methods relating to the Johnson framework.- Since:
- 8.7
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanhasOpenSearchEvent()Check if OpenSearch Johnson event has been raisedstatic voidraiseStartupErrorIfNotExistFor(Exception exception)Raise Startup Johnson event for open search
-
-
-
Method Detail
-
raiseStartupErrorIfNotExistFor
public static void raiseStartupErrorIfNotExistFor(Exception exception)
Raise Startup Johnson event for open search- Parameters:
exception- OpenSearch related exception
-
hasOpenSearchEvent
public static boolean hasOpenSearchEvent()
Check if OpenSearch Johnson event has been raised- Returns:
- true/false whether event has been raised
-
-