com.atlassian.jira.webtest.framework.impl.selenium.query
Class TextQuery

java.lang.Object
  extended by com.atlassian.jira.webtest.framework.core.AbstractPollingQuery
      extended by com.atlassian.jira.webtest.framework.core.query.AbstractTimedQuery<T>
          extended by com.atlassian.jira.webtest.framework.core.query.AbstractConditionBasedQuery<T>
              extended by com.atlassian.jira.webtest.framework.impl.selenium.query.AbstractSeleniumConditionBasedQuery<T>
                  extended by com.atlassian.jira.webtest.framework.impl.selenium.query.AbstractLocatorConditionQuery<String>
                      extended by com.atlassian.jira.webtest.framework.impl.selenium.query.TextQuery
All Implemented Interfaces:
ClockAware, PollingQuery, TimedQuery<String>

public class TextQuery
extends AbstractLocatorConditionQuery<String>
implements TimedQuery<String>

A query for an element's text.

Since:
v4.3

Nested Class Summary
static class TextQuery.Builder
           
 
Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.query.AbstractLocatorConditionQuery
locator
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.query.AbstractSeleniumConditionBasedQuery
client, context
 
Fields inherited from class com.atlassian.jira.webtest.framework.core.AbstractPollingQuery
defaultTimeout, interval
 
Method Summary
protected  String evaluateNow()
          Hook for subclasses, semantics are basically the same as AbstractConditionBasedQuery.currentValue().
static TextQuery.Builder forContext(SeleniumContext ctx)
           
 
Methods inherited from class com.atlassian.jira.webtest.framework.core.query.AbstractConditionBasedQuery
condition, currentValue, shouldReturn, substituteValue
 
Methods inherited from class com.atlassian.jira.webtest.framework.core.query.AbstractTimedQuery
by, by, byDefaultTimeout, clock, expirationHandler, now, resetLastRun, toString
 
Methods inherited from class com.atlassian.jira.webtest.framework.core.AbstractPollingQuery
defaultTimeout, interval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.query.TimedQuery
by, by, byDefaultTimeout, now
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PollingQuery
defaultTimeout, interval
 

Method Detail

forContext

public static TextQuery.Builder forContext(SeleniumContext ctx)

evaluateNow

protected String evaluateNow()
Description copied from class: AbstractConditionBasedQuery
Hook for subclasses, semantics are basically the same as AbstractConditionBasedQuery.currentValue().

Specified by:
evaluateNow in class AbstractConditionBasedQuery<String>
Returns:
current evaluation of this query
See Also:
AbstractTimedQuery.currentValue()


Copyright © 2002-2013 Atlassian. All Rights Reserved.