public static interface DefaultConditionRunner.Monitor
DefaultConditionRunner.Monitor
can be installed in DefaultConditionRunner
as an open ended way of
being notified of certain events.Modifier and Type | Method and Description |
---|---|
void |
conditionFailed(ConditionRunner.Context context,
Condition condition,
String message) |
void |
conditionWasReached(ConditionRunner.Context context,
Condition condition)
Called whenever a
DefaultConditionRunner.waitFor(Condition) is successful (i.e. |
void |
waitHasBegun(ConditionRunner.Context context,
Condition condition)
Called whenever a
DefaultConditionRunner.waitFor(Condition) has begun, and is being
tracked with the given condition . |
void waitHasBegun(ConditionRunner.Context context, Condition condition)
DefaultConditionRunner.waitFor(Condition)
has begun, and is being
tracked with the given condition
.condition
- condition that waiting is about to begincontext
- context on with the condition will be runvoid conditionWasReached(ConditionRunner.Context context, Condition condition)
DefaultConditionRunner.waitFor(Condition)
is successful (i.e.
Condition.isTrue(com.thoughtworks.selenium.condition.ConditionRunner.Context)
returned true within the timeout}.condition
- condition that waiting completedcontext
- context for the conditionvoid conditionFailed(ConditionRunner.Context context, Condition condition, String message)
Copyright © 2015. All rights reserved.