Package org.graphwalker.core.condition
Class TimeDuration
java.lang.Object
org.graphwalker.core.condition.StopConditionBase
org.graphwalker.core.condition.TimeDuration
- All Implemented Interfaces:
StopCondition
TimeDuration
The TimeDuration stop condition is fulfilled when the executed time of the test has exceeded the time given as a parameter in the constructor.- Author:
- Nils Olsson
-
Field Summary
Fields inherited from interface org.graphwalker.core.condition.StopCondition
FULFILLMENT_LEVEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongdoublebooleanMethods inherited from class org.graphwalker.core.condition.StopConditionBase
getContext, getValue, setContext, toString, toString
-
Constructor Details
-
TimeDuration
-
-
Method Details
-
getDuration
public long getDuration() -
isFulfilled
public boolean isFulfilled()- Specified by:
isFulfilledin interfaceStopCondition- Overrides:
isFulfilledin classStopConditionBase
-
getFulfilment
public double getFulfilment()
-