View Javadoc

1   package com.atlassian.pageobjects.elements.timeout;
2   
3   /**
4    * A configuration components responsible for providing customizable timeouts for various timeout types.
5    *
6    */
7   public interface Timeouts
8   {
9       public static final long DEFAULT_INTERVAL = 100L;
10  
11      /**
12       * Provide timeout (in milliseconds) for a given <tt>timeoutType</tt>.
13       *
14       * @param timeoutType type of the timeout
15       * @return timeout value in milliseconds
16       */
17      long timeoutFor(TimeoutType timeoutType);
18  }