com.atlassian.pageobjects.elements.query
Class AbstractPollingQuery
java.lang.Object
com.atlassian.pageobjects.elements.query.AbstractPollingQuery
- All Implemented Interfaces:
- PollingQuery
- Direct Known Subclasses:
- AbstractTimedQuery
public class AbstractPollingQuery
- extends Object
- implements PollingQuery
Abstract implementation of the PollingQuery interface.
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
interval
protected final long interval
defaultTimeout
protected final long defaultTimeout
AbstractPollingQuery
protected AbstractPollingQuery(long interval,
long defaultTimeout)
AbstractPollingQuery
protected AbstractPollingQuery(PollingQuery other)
interval
public long interval()
- Description copied from interface:
PollingQuery
- An interval (in milliseconds) that will be used to periodically evaluate the query.
- Specified by:
interval in interface PollingQuery
- Returns:
- evaluation interval of this query.
defaultTimeout
public long defaultTimeout()
- Description copied from interface:
PollingQuery
- Default timeout (in milliseconds) of this query in the current test context.
- Specified by:
defaultTimeout in interface PollingQuery
- Returns:
- default timeout of this query
Copyright © 2014 Atlassian. All rights reserved.