com.atlassian.jira.webtest.selenium.framework.model
Enum ActionType

java.lang.Object
  extended by java.lang.Enum<ActionType>
      extended by com.atlassian.jira.webtest.selenium.framework.model.ActionType
All Implemented Interfaces:
Serializable, Comparable<ActionType>

public enum ActionType
extends Enum<ActionType>

Represents type of actions possible after any trigger in Selenium is invoked (e.g. link clicked).

Since:
4.2

Enum Constant Summary
AJAX
           
JAVASCRIPT
           
KICKASS_DYNAMIC
          An action type that behaves as AJAX with Kickass enabled and as NEW_PAGE without.
NEW_PAGE
           
 
Method Summary
 long defaultTimeout(SeleniumContext ctx)
           
static ActionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ActionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 void waitForAction(SeleniumContext ctx)
           
 void waitForAction(SeleniumContext ctx, long timeout)
           
 
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

KICKASS_DYNAMIC

public static final ActionType KICKASS_DYNAMIC
An action type that behaves as AJAX with Kickass enabled and as NEW_PAGE without.


NEW_PAGE

public static final ActionType NEW_PAGE

AJAX

public static final ActionType AJAX

JAVASCRIPT

public static final ActionType JAVASCRIPT
Method Detail

values

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

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

valueOf

public static ActionType 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

waitForAction

public void waitForAction(SeleniumContext ctx,
                          long timeout)

defaultTimeout

public long defaultTimeout(SeleniumContext ctx)

waitForAction

public void waitForAction(SeleniumContext ctx)


Copyright © 2002-2012 Atlassian. All Rights Reserved.