Ajocado API 1.0.0.Alpha2

org.jboss.arquillian.ajocado.framework
Enum AjocadoConfiguration.TimeoutType

java.lang.Object
  extended by java.lang.Enum<AjocadoConfiguration.TimeoutType>
      extended by org.jboss.arquillian.ajocado.framework.AjocadoConfiguration.TimeoutType
All Implemented Interfaces:
Serializable, Comparable<AjocadoConfiguration.TimeoutType>
Enclosing interface:
AjocadoConfiguration

public static enum AjocadoConfiguration.TimeoutType
extends Enum<AjocadoConfiguration.TimeoutType>

Type of selenium timeout


Enum Constant Summary
AJAX
          Waiting for AJAX operations (computational intensive server operations)
DEFAULT
          Default waiting set in Selenium API
GUI
          Waiting for GUI operations, such as rendering
MODEL
          Waiting for Model change operations (computational intensive server operations)
 
Method Summary
 int getDefaultTimeout()
           
static AjocadoConfiguration.TimeoutType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AjocadoConfiguration.TimeoutType[] 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

DEFAULT

public static final AjocadoConfiguration.TimeoutType DEFAULT
Default waiting set in Selenium API


GUI

public static final AjocadoConfiguration.TimeoutType GUI
Waiting for GUI operations, such as rendering


AJAX

public static final AjocadoConfiguration.TimeoutType AJAX
Waiting for AJAX operations (computational intensive server operations)


MODEL

public static final AjocadoConfiguration.TimeoutType MODEL
Waiting for Model change operations (computational intensive server operations)

Method Detail

values

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

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

valueOf

public static AjocadoConfiguration.TimeoutType 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

getDefaultTimeout

public int getDefaultTimeout()

Ajocado API 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.