Enum Class HighlightColor

java.lang.Object
java.lang.Enum<HighlightColor>
burp.api.montoya.core.HighlightColor
All Implemented Interfaces:
Serializable, Comparable<HighlightColor>, Constable

public enum HighlightColor extends Enum<HighlightColor>
Colors that can be used for highlights in Burp Suite.
  • Enum Constant Details

  • Method Details

    • values

      public static HighlightColor[] 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 HighlightColor 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
    • displayName

      public String displayName()
      Returns:
      displayName of highlightColor
    • highlightColor

      public static HighlightColor highlightColor(String colorName)
      Create HighlightColor from display name string.
      Parameters:
      colorName - Color's display name
      Returns:
      highlight color instance