1 package com.atlassian.selenium;
2
3 import com.atlassian.selenium.AbstractSeleniumConfiguration;
4
5 public class ParameterizedSeleniumConfiguration extends AbstractSeleniumConfiguration
6 {
7
8 private final String serverLocation, browserStartString, baseUrl;
9 private final int serverPort;
10
11 public ParameterizedSeleniumConfiguration(String serverLocation, int serverPort,
12 String browserStartString, String baseUrl)
13 {
14 this.serverLocation = serverLocation;
15 this.serverPort = serverPort;
16 this.browserStartString = browserStartString;
17 this.baseUrl = baseUrl;
18 }
19
20 public String getServerLocation() {
21 return serverLocation;
22 }
23
24 public int getServerPort() {
25 return serverPort;
26 }
27
28 public String getBrowserStartString() {
29 return browserStartString;
30 }
31
32 public String getBaseUrl() {
33 return baseUrl;
34 }
35
36 public boolean getStartSeleniumServer() {
37 return false;
38 }
39 }