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