Annotation Type Sleep


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface Sleep
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Sets the sleep time.
  • Element Details

    • value

      String value
      Sets the sleep time. By default if nothing is specified the value is considered in milliseconds, but you can also use a timespan form such as 1m30s
      Returns:
      Sleeping time.