com.atlassian.jira.pageobjects.config
Class EnvironmentBasedProductInstance

java.lang.Object
  extended by com.atlassian.jira.pageobjects.config.EnvironmentBasedProductInstance
All Implemented Interfaces:
com.atlassian.pageobjects.ProductInstance

public class EnvironmentBasedProductInstance
extends Object
implements com.atlassian.pageobjects.ProductInstance

ProductInstance implementation based on JIRAEnvironmentData.

Since:
v4.3

Constructor Summary
EnvironmentBasedProductInstance()
           
EnvironmentBasedProductInstance(com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
           
 
Method Summary
 com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData()
           
 String getBaseUrl()
           
 String getContextPath()
           
 int getHttpPort()
           
 String getInstanceId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvironmentBasedProductInstance

public EnvironmentBasedProductInstance(com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)

EnvironmentBasedProductInstance

public EnvironmentBasedProductInstance()
Method Detail

getBaseUrl

public String getBaseUrl()
Specified by:
getBaseUrl in interface com.atlassian.pageobjects.ProductInstance

getHttpPort

public int getHttpPort()
Specified by:
getHttpPort in interface com.atlassian.pageobjects.ProductInstance

getContextPath

public String getContextPath()
Specified by:
getContextPath in interface com.atlassian.pageobjects.ProductInstance

getInstanceId

public String getInstanceId()
Specified by:
getInstanceId in interface com.atlassian.pageobjects.ProductInstance

environmentData

public com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData()


Copyright © 2002-2012 Atlassian. All Rights Reserved.