net.thucydides.core.model
Enum TakeScreenshots
java.lang.Object
java.lang.Enum<TakeScreenshots>
net.thucydides.core.model.TakeScreenshots
- All Implemented Interfaces:
- Serializable, Comparable<TakeScreenshots>
public enum TakeScreenshots
- extends Enum<TakeScreenshots>
|
Method Summary |
static TakeScreenshots |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TakeScreenshots[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
FOR_EACH_ACTION
public static final TakeScreenshots FOR_EACH_ACTION
BEFORE_AND_AFTER_EACH_STEP
public static final TakeScreenshots BEFORE_AND_AFTER_EACH_STEP
AFTER_EACH_STEP
public static final TakeScreenshots AFTER_EACH_STEP
FOR_FAILURES
public static final TakeScreenshots FOR_FAILURES
values
public static TakeScreenshots[] 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 (TakeScreenshots c : TakeScreenshots.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TakeScreenshots 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 name
NullPointerException - if the argument is null
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.