|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TimeoutType>
com.atlassian.pageobjects.elements.timeout.TimeoutType
public enum TimeoutType
Enumeration of default timeout types in the elements.
NOTE: This enumeration should NOT be extended with further timeout types, unless it is a matter of
common (as in: involving more than one developer) consensus that a new timeout type is necessary.
Instead, use customized timeouts, if a particular test context requires timeout adjustments (to that end you may use
TimedQuery.by(long)
and TimedQuery.by(long, java.util.concurrent.TimeUnit)).
| Enum Constant Summary | |
|---|---|
AJAX_ACTION
An AJAX-like action on the tested page, e.g. |
|
COMPONENT_LOAD
Load time of an UI-heavy components (e.g. |
|
DEFAULT
Default timeout value. |
|
DIALOG_LOAD
Dialog load time. |
|
EVALUATION_INTERVAL
Interval between consecutive attempts to evaluate state of a particular test components, used e.g. |
|
PAGE_LOAD
Page load of an average product page. |
|
SLOW_PAGE_LOAD
Page load of a slow page, e.g. |
|
UI_ACTION
Use for any actions executed by the test within the page UI, e.g. |
|
| Method Summary | |
|---|---|
static TimeoutType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static 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 |
|---|
public static final TimeoutType DEFAULT
public static final TimeoutType EVALUATION_INTERVAL
TimedQuery,
PollingQuerypublic static final TimeoutType UI_ACTION
public static final TimeoutType PAGE_LOAD
public static final TimeoutType SLOW_PAGE_LOAD
public static final TimeoutType DIALOG_LOAD
public static final TimeoutType COMPONENT_LOAD
public static final TimeoutType AJAX_ACTION
| Method Detail |
|---|
public static TimeoutType[] values()
for (TimeoutType c : TimeoutType.values()) System.out.println(c);
public static TimeoutType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||