1 package com.atlassian.pageobjects;
2
3 /**
4 * Encapsulates information about the product instance being tested.
5 *
6 * @since 2.1
7 */
8 public interface ProductInstance
9 {
10 /**
11 * @return The base URL of the instance. Cannot be null.
12 */
13 String getBaseUrl();
14
15 /**
16 * @return The HTTP port
17 */
18 int getHttpPort();
19
20 /**
21 * @return The context path, starting with "/". Cannot be null.
22 */
23 String getContextPath();
24
25 /**
26 * @return The instance id. Cannot be null.
27 */
28 String getInstanceId();
29 }