T
- The condition evaluation result value type.public class EvaluatedCondition<T> extends Object
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
long |
getElapsedTimeInMS() |
org.hamcrest.Matcher<? super T> |
getMatcher() |
long |
getRemainingTimeInMS() |
T |
getValue() |
boolean |
isConditionRunningForever() |
boolean |
isSatisfied() |
public String getDescription()
public org.hamcrest.Matcher<? super T> getMatcher()
public T getValue()
public long getElapsedTimeInMS()
public long getRemainingTimeInMS()
Long.MAX_VALUE
if no timeout defined, i.e., running forever.public boolean isConditionRunningForever()
true
if the condition doesn't have a timeout, false
otherwise.public boolean isSatisfied()
true
if the condition is satisfied (i.e. hamcrest matcher matches the value), false
otherwise (i.e. an intermediate value).Copyright © 2010–2014. All rights reserved.