com.atlassian.pageobjects
Class DefaultProductInstance
java.lang.Object
com.atlassian.pageobjects.DefaultProductInstance
- All Implemented Interfaces:
- ProductInstance
public class DefaultProductInstance
- extends Object
- implements ProductInstance
Default implementation of ProductInstance.
- Since:
- 2.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultProductInstance
public DefaultProductInstance(String baseUrl,
String instanceId,
int httpPort,
String contextPath)
getBaseUrl
public String getBaseUrl()
- Specified by:
getBaseUrl in interface ProductInstance
- Returns:
- The base URL of the instance. Cannot be null.
getHttpPort
public int getHttpPort()
- Specified by:
getHttpPort in interface ProductInstance
- Returns:
- The HTTP port
getContextPath
public String getContextPath()
- Specified by:
getContextPath in interface ProductInstance
- Returns:
- The context path, starting with "/". Cannot be null.
getInstanceId
public String getInstanceId()
- Specified by:
getInstanceId in interface ProductInstance
- Returns:
- The instance id. Cannot be null.
Copyright © 2014 Atlassian. All rights reserved.