Enum JupiterVideoRecorderExtension.SaveMode
- java.lang.Object
-
- java.lang.Enum<JupiterVideoRecorderExtension.SaveMode>
-
- au.net.causal.maven.plugins.browserbox.testtools.jupiter.JupiterVideoRecorderExtension.SaveMode
-
- All Implemented Interfaces:
Serializable,Comparable<JupiterVideoRecorderExtension.SaveMode>
- Enclosing class:
- JupiterVideoRecorderExtension
public static enum JupiterVideoRecorderExtension.SaveMode extends Enum<JupiterVideoRecorderExtension.SaveMode>
Control when to save video.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JupiterVideoRecorderExtension.SaveModevalueOf(String name)Returns the enum constant of this type with the specified name.static JupiterVideoRecorderExtension.SaveMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEVER
public static final JupiterVideoRecorderExtension.SaveMode NEVER
Never record or save any video.
-
FAILURE
public static final JupiterVideoRecorderExtension.SaveMode FAILURE
Save video only for tests that fail or have errors.
-
ALWAYS
public static final JupiterVideoRecorderExtension.SaveMode ALWAYS
Save video for every test regardless of the result.
-
-
Method Detail
-
values
public static JupiterVideoRecorderExtension.SaveMode[] 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 (JupiterVideoRecorderExtension.SaveMode c : JupiterVideoRecorderExtension.SaveMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JupiterVideoRecorderExtension.SaveMode valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-