Enum Class JohnsonError

java.lang.Object
java.lang.Enum<JohnsonError>
com.atlassian.confluence.plugins.opensearch.johnson.JohnsonError
All Implemented Interfaces:
Serializable, Comparable<JohnsonError>, Constable

public enum JohnsonError extends Enum<JohnsonError>
Enumeration of error messages for the Johnson page.
Since:
9.0
  • Enum Constant Details

    • UNABLE_TO_ACCESS

      public static final JohnsonError UNABLE_TO_ACCESS
    • LANGUAGE_NOT_SUPPORTED

      public static final JohnsonError LANGUAGE_NOT_SUPPORTED
    • PERMISSION_INSUFFICIENT

      public static final JohnsonError PERMISSION_INSUFFICIENT
  • Method Details

    • values

      public static JohnsonError[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JohnsonError valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getHelpUrl

      public String getHelpUrl()
    • getI18nKey

      public String getI18nKey()