Enum Paused.Reason
- java.lang.Object
-
- java.lang.Enum<Paused.Reason>
-
- org.openqa.selenium.devtools.v108.debugger.model.Paused.Reason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Paused.Reason>
- Enclosing class:
- Paused
public static enum Paused.Reason extends java.lang.Enum<Paused.Reason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMBIGUOUS
ASSERT
CSPVIOLATION
DEBUGCOMMAND
DOM
EVENTLISTENER
EXCEPTION
INSTRUMENTATION
OOM
OTHER
PROMISEREJECTION
XHR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Paused.Reason
fromString(java.lang.String s)
java.lang.String
toJson()
java.lang.String
toString()
static Paused.Reason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Paused.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AMBIGUOUS
public static final Paused.Reason AMBIGUOUS
-
ASSERT
public static final Paused.Reason ASSERT
-
CSPVIOLATION
public static final Paused.Reason CSPVIOLATION
-
DEBUGCOMMAND
public static final Paused.Reason DEBUGCOMMAND
-
DOM
public static final Paused.Reason DOM
-
EVENTLISTENER
public static final Paused.Reason EVENTLISTENER
-
EXCEPTION
public static final Paused.Reason EXCEPTION
-
INSTRUMENTATION
public static final Paused.Reason INSTRUMENTATION
-
OOM
public static final Paused.Reason OOM
-
OTHER
public static final Paused.Reason OTHER
-
PROMISEREJECTION
public static final Paused.Reason PROMISEREJECTION
-
XHR
public static final Paused.Reason XHR
-
-
Method Detail
-
values
public static Paused.Reason[] 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 (Paused.Reason c : Paused.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Paused.Reason 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 Paused.Reason fromString(java.lang.String s)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Paused.Reason>
-
toJson
public java.lang.String toJson()
-
-