Class SleepRobotImpl

java.lang.Object
org.testfx.robot.impl.SleepRobotImpl
All Implemented Interfaces:
SleepRobot

public class SleepRobotImpl extends Object implements SleepRobot
  • Constructor Details

    • SleepRobotImpl

      public SleepRobotImpl()
  • Method Details

    • sleep

      public void sleep(long milliseconds)
      Description copied from interface: SleepRobot
      Same as Thread.sleep(long)}, but without checked exceptions.
      Specified by:
      sleep in interface SleepRobot
      Parameters:
      milliseconds - the duration in milliseconds to sleep for
    • sleep

      public void sleep(long duration, TimeUnit timeUnit)
      Description copied from interface: SleepRobot
      Same as Thread.sleep(long), but without checked exceptions.
      Specified by:
      sleep in interface SleepRobot
      Parameters:
      duration - the duration to sleep for
      timeUnit - the unit of time the duration to sleep for is in