com.atlassian.jira.webtest.framework.util
Class AbstractTimedObjectBuilder<B extends AbstractTimedObjectBuilder<B,T>,T>
java.lang.Object
com.atlassian.jira.webtest.framework.util.AbstractTimedObjectBuilder<B,T>
- Type Parameters:
T
- type of the target object
- All Implemented Interfaces:
- Builder<T>
- Direct Known Subclasses:
- AbstractTimedQueryBuilder
public abstract class AbstractTimedObjectBuilder<B extends AbstractTimedObjectBuilder<B,T>,T>
- extends Object
- implements Builder<T>
Abstract builder for timed objects that need to be provided a default timeout.
- Since:
- v4.3
- See Also:
TimedCondition
,
TimedQuery
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
evaluationInterval
protected long evaluationInterval
defaultTimeout
protected long defaultTimeout
AbstractTimedObjectBuilder
protected AbstractTimedObjectBuilder(Class<B> target)
defaultTimeout
public final long defaultTimeout()
defaultTimeout
public final B defaultTimeout(long defaultTimeout)
evaluationInterval
public final long evaluationInterval()
evaluationInterval
public final B evaluationInterval(long evaluationInterval)
asTargetType
protected final B asTargetType()
build
public abstract T build()
- Description copied from interface:
Builder
- Construct the target object instance.
- Specified by:
build
in interface Builder<T>
- Returns:
- target object instance
Copyright © 2002-2013 Atlassian. All Rights Reserved.