org.jboss.test.selenium.waiting
Class Not

java.lang.Object
  extended by org.jboss.test.selenium.waiting.Not
All Implemented Interfaces:
Condition

public abstract class Not
extends java.lang.Object
implements Condition

Opposite to Condition - you specify when desired conditions is not satisfied.

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
Not()
           
 
Method Summary
 boolean isTrue()
          Implementation of condition, which will not be satisfied.
abstract  boolean not()
          This method has to be overridden to return condition which shouldn't be satisfied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Not

public Not()
Method Detail

isTrue

public final boolean isTrue()
Implementation of condition, which will not be satisfied.

Specified by:
isTrue in interface Condition
Returns:
true if desired condition is not satisfied

not

public abstract boolean not()
This method has to be overridden to return condition which shouldn't be satisfied.

Returns:
true if desired condition is not satisfied, false if it is


Copyright © 2010. All Rights Reserved.