Enum ViolationSetting.Name
- java.lang.Object
-
- java.lang.Enum<ViolationSetting.Name>
-
- org.openqa.selenium.devtools.v107.log.model.ViolationSetting.Name
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ViolationSetting.Name>
- Enclosing class:
- ViolationSetting
public static enum ViolationSetting.Name extends java.lang.Enum<ViolationSetting.Name>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCKEDEVENT
BLOCKEDPARSER
DISCOURAGEDAPIUSE
HANDLER
LONGLAYOUT
LONGTASK
RECURRINGHANDLER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ViolationSetting.Name
fromString(java.lang.String s)
java.lang.String
toJson()
java.lang.String
toString()
static ViolationSetting.Name
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ViolationSetting.Name[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LONGTASK
public static final ViolationSetting.Name LONGTASK
-
LONGLAYOUT
public static final ViolationSetting.Name LONGLAYOUT
-
BLOCKEDEVENT
public static final ViolationSetting.Name BLOCKEDEVENT
-
BLOCKEDPARSER
public static final ViolationSetting.Name BLOCKEDPARSER
-
DISCOURAGEDAPIUSE
public static final ViolationSetting.Name DISCOURAGEDAPIUSE
-
HANDLER
public static final ViolationSetting.Name HANDLER
-
RECURRINGHANDLER
public static final ViolationSetting.Name RECURRINGHANDLER
-
-
Method Detail
-
values
public static ViolationSetting.Name[] 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 (ViolationSetting.Name c : ViolationSetting.Name.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ViolationSetting.Name 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
-
fromString
public static ViolationSetting.Name fromString(java.lang.String s)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ViolationSetting.Name>
-
toJson
public java.lang.String toJson()
-
-