Class WaitHookOptions

    • Constructor Detail

      • WaitHookOptions

        public WaitHookOptions()
        Creates a new wait hook options, with default annotation options.
      • WaitHookOptions

        public WaitHookOptions​(Wait annotation)
        Creates a new wait hook options, with given annotation options.
        Parameters:
        annotation - wait annotation
    • Method Detail

      • configureAwait

        protected FluentWait configureAwait​(FluentWait await)
        Configure fluent wait with this options.
        Parameters:
        await - fluent wait object to configure
        Returns:
        configured fluent wait object
      • getTimeUnit

        public TimeUnit getTimeUnit()
      • getAtMost

        public Long getAtMost()
      • getPollingTimeUnit

        public TimeUnit getPollingTimeUnit()
      • getPollingEvery

        public Long getPollingEvery()
      • isWithNoDefaultsException

        public boolean isWithNoDefaultsException()
      • setTimeUnit

        public void setTimeUnit​(TimeUnit timeUnit)
      • setAtMost

        public void setAtMost​(Long atMost)
      • setPollingTimeUnit

        public void setPollingTimeUnit​(TimeUnit pollingTimeUnit)
      • setPollingEvery

        public void setPollingEvery​(Long pollingEvery)
      • setWithNoDefaultsException

        public void setWithNoDefaultsException​(boolean withNoDefaultsException)