com.appfoundation.automation.framework.gwen.domain.action
Enum WaitType

java.lang.Object
  extended by java.lang.Enum<WaitType>
      extended by com.appfoundation.automation.framework.gwen.domain.action.WaitType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WaitType>

public enum WaitType
extends java.lang.Enum<WaitType>

WaitType

The type of wait being expressed in a Wait Action.

Author:
john.valentino

Enum Constant Summary
FOR_TEXT
           
TO_BE_CLICKABLE
           
UNTIL_ELEMENT_EXISTS
           
UNTIL_ELEMENT_GONE
           
 
Field Summary
private  java.lang.String text
           
 
Method Summary
 java.lang.String getText()
           
static WaitType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WaitType[] 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

TO_BE_CLICKABLE

public static final WaitType TO_BE_CLICKABLE

FOR_TEXT

public static final WaitType FOR_TEXT

UNTIL_ELEMENT_GONE

public static final WaitType UNTIL_ELEMENT_GONE

UNTIL_ELEMENT_EXISTS

public static final WaitType UNTIL_ELEMENT_EXISTS
Field Detail

text

private final java.lang.String text
Method Detail

values

public static WaitType[] 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 (WaitType c : WaitType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WaitType 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 name
java.lang.NullPointerException - if the argument is null

getText

public java.lang.String getText()