- java.lang.Object
-
- org.testfx.robot.impl.SleepRobotImpl
-
- All Implemented Interfaces:
SleepRobot
public class SleepRobotImpl extends Object implements SleepRobot
-
-
Constructor Summary
Constructors Constructor Description SleepRobotImpl()
-
Method Summary
Modifier and Type Method Description void
sleep(long milliseconds)
Same asThread.sleep(long)
}, but without checked exceptions.void
sleep(long duration, TimeUnit timeUnit)
Same asThread.sleep(long)
, but without checked exceptions.
-
-
-
Method Detail
-
sleep
public void sleep(long milliseconds)
Description copied from interface:SleepRobot
Same asThread.sleep(long)
}, but without checked exceptions.- Specified by:
sleep
in interfaceSleepRobot
- Parameters:
milliseconds
- the duration in milliseconds to sleep for
-
sleep
public void sleep(long duration, TimeUnit timeUnit)
Description copied from interface:SleepRobot
Same asThread.sleep(long)
, but without checked exceptions.- Specified by:
sleep
in interfaceSleepRobot
- Parameters:
duration
- the duration to sleep fortimeUnit
- the unit of time the duration to sleep for is in
-
-