org.eclipse.swtbot.swt.finder.waits
Class DefaultCondition
java.lang.Object
org.eclipse.swtbot.swt.finder.waits.DefaultCondition
- All Implemented Interfaces:
- ICondition
- Direct Known Subclasses:
- WaitForObjectCondition
public abstract class DefaultCondition
- extends Object
- implements ICondition
This is an abstract implementation of the condition interface to simplify the implementing classes.
- Version:
- $Id$
- Author:
- Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>
Field Summary |
protected SWTBot |
bot
the SWTBot instance that this instance may use to evaluate the test. |
Method Summary |
void |
init(SWTBot bot)
Initializes the condition with the given SWTBot . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bot
protected SWTBot bot
- the SWTBot instance that this instance may use to evaluate the test.
DefaultCondition
public DefaultCondition()
init
public void init(SWTBot bot)
- Initializes the condition with the given
SWTBot
.
- Specified by:
init
in interface ICondition
- Parameters:
bot
- The bot to use. This should never be null
.- See Also:
ICondition.init(org.eclipse.swtbot.swt.finder.SWTBot)