Package burp.api.montoya.core
Enum HighlightColor
- java.lang.Object
-
- java.lang.Enum<HighlightColor>
-
- burp.api.montoya.core.HighlightColor
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<HighlightColor>
public enum HighlightColor extends java.lang.Enum<HighlightColor>
This enum represents colors that can be used for highlights in Burp Suite.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HighlightColorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HighlightColor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final HighlightColor NONE
-
RED
public static final HighlightColor RED
-
ORANGE
public static final HighlightColor ORANGE
-
YELLOW
public static final HighlightColor YELLOW
-
GREEN
public static final HighlightColor GREEN
-
CYAN
public static final HighlightColor CYAN
-
BLUE
public static final HighlightColor BLUE
-
PINK
public static final HighlightColor PINK
-
MAGENTA
public static final HighlightColor MAGENTA
-
GRAY
public static final HighlightColor GRAY
-
-
Method Detail
-
values
public static HighlightColor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HighlightColor c : HighlightColor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HighlightColor valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-