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