View Javadoc

1   package com.atlassian.webdriver.waiter;
2   
3   import com.atlassian.annotations.ExperimentalApi;
4   
5   /**
6    * WARNING: This API is still experimental and may be changed between versions.
7    *
8    * @since 2.1.0
9    */
10  @ExperimentalApi
11  public interface ExecutableWaiterQuery
12  {
13      /**
14       * Executes the built up waiter query.
15       */
16      void execute();
17  
18      /**
19       * Allows chaining of queries together and will pass when
20       * both queries evaluates to true
21       */
22      WaiterQuery and();
23  
24      /**
25       * Allows chaining of queries together and will pass when
26       * either query evaluates to true
27       */
28      WaiterQuery or();
29  }