Class SleepRobotImpl
java.lang.Object
org.testfx.robot.impl.SleepRobotImpl
- All Implemented Interfaces:
SleepRobot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsleep(long milliseconds) Same asThread.sleep(long)}, but without checked exceptions.voidSame asThread.sleep(long), but without checked exceptions.
-
Constructor Details
-
SleepRobotImpl
public SleepRobotImpl()
-
-
Method Details
-
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
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
-