View Javadoc

1   package com.atlassian.pageobjects;
2   
3   public interface MultiTenantTestedProduct<T extends Tester> extends TestedProduct<T> {
4   
5       /**
6        * Optionally set the host to use for tenant-specific requests to the tested product,
7        * otherwise the default URL shall be used.
8        *
9        * @param host for the required tenant, or null to reset to default
10       */
11      void setHost(String host);
12  
13      /**
14       * Resets the host to the default for the tested product
15       */
16      default void resetToDefaultHost() {
17          setHost(null);
18      }
19  
20  }