net.thucydides.core.model
Enum TakeScreenshots

Package class diagram package TakeScreenshots
java.lang.Object
  extended by java.lang.Enum<TakeScreenshots>
      extended by net.thucydides.core.model.TakeScreenshots
All Implemented Interfaces:
Serializable, Comparable<TakeScreenshots>

public enum TakeScreenshots
extends Enum<TakeScreenshots>


Enum Constant Summary
AFTER_EACH_STEP
           
BEFORE_AND_AFTER_EACH_STEP
           
FOR_EACH_ACTION
           
FOR_FAILURES
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.