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 Details

    • raiseStartupErrorIfNotExistFor

      public static void raiseStartupErrorIfNotExistFor(JohnsonError error)
      Raise Startup Johnson event for open search
      Parameters:
      error - Johnson error message
    • hasOpenSearchEvent

      public static boolean hasOpenSearchEvent(JohnsonError error)
      Check if OpenSearch Johnson event has been raised for the given error
      Parameters:
      error -
      Returns:
      true if the event has been raised, or false otherwise