com.atlassian.jira.webtest.framework.impl.selenium.util
Class AbstractSeleniumTimedObjectBuilder<B extends AbstractSeleniumTimedObjectBuilder<B,T>,T>

java.lang.Object
  extended by com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
      extended by com.atlassian.jira.webtest.framework.impl.selenium.util.AbstractSeleniumTimedObjectBuilder<B,T>
Type Parameters:
T - type of the target object
Direct Known Subclasses:
AbstractSeleniumConditionBasedQueryBuilder, AbstractSeleniumTimedConditionBuilder, AbstractSeleniumTimedQueryBuilder

public abstract class AbstractSeleniumTimedObjectBuilder<B extends AbstractSeleniumTimedObjectBuilder<B,T>,T>
extends SeleniumContextAware

Abstract builder for timed objects that need to be provided a default timeout, based off the SeleniumContext.

Since:
v4.3
See Also:
TimedCondition, TimedQuery

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
protected AbstractSeleniumTimedObjectBuilder(SeleniumContext context, Class<B> target)
           
 
Method Summary
protected  B asTargetType()
           
abstract  T build()
           
 long defaultTimeout()
           
 B defaultTimeout(long defaultTimeout)
           
 B defaultTimeout(Timeouts defaultTimeout)
           
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSeleniumTimedObjectBuilder

protected AbstractSeleniumTimedObjectBuilder(SeleniumContext context,
                                             Class<B> target)
Method Detail

defaultTimeout

public final long defaultTimeout()

defaultTimeout

public final B defaultTimeout(long defaultTimeout)

defaultTimeout

public final B defaultTimeout(Timeouts defaultTimeout)

asTargetType

protected final B asTargetType()

build

public abstract T build()


Copyright © 2002-2012 Atlassian. All Rights Reserved.