com.atlassian.pageobjects.elements.query
Interface PollingQuery

All Known Subinterfaces:
Conditions.CombinableCondition, TimedCondition, TimedQuery<T>
All Known Implementing Classes:
AbstractPollingQuery, AbstractTimedCondition, AbstractTimedQuery, GenericWebDriverTimedQuery, StaticQuery, WebDriverLocatableBasedTimedCondition, WebDriverLocatableBasedTimedQuery, WebElementBasedTimedCondition, WebElementBasedTimedQuery

public interface PollingQuery

A query over the state of the current test that is capable of being repeated at given intervals in an attempt to wait for a desired result.


Field Summary
static long DEFAULT_INTERVAL
           
 
Method Summary
 long defaultTimeout()
          Default timeout (in milliseconds) of this query in the current test context.
 long interval()
          An interval (in milliseconds) that will be used to periodically evaluate the query.
 

Field Detail

DEFAULT_INTERVAL

static final long DEFAULT_INTERVAL
See Also:
Constant Field Values
Method Detail

interval

long interval()
An interval (in milliseconds) that will be used to periodically evaluate the query.

Returns:
evaluation interval of this query.

defaultTimeout

long defaultTimeout()
Default timeout (in milliseconds) of this query in the current test context.

Returns:
default timeout of this query


Copyright © 2014 Atlassian. All rights reserved.