public class UrlEnvironmentHandler extends Object implements EnvironmentHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
MAGIC_STRING |
| Constructor and Description |
|---|
UrlEnvironmentHandler() |
UrlEnvironmentHandler(List<String> urls,
Map<String,String> environment) |
UrlEnvironmentHandler(String environmentFileName) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getStartUrls(String environment)
Get the list of start URLs.
|
void |
setUrls(List<String> urls)
Set the list of URLs.
|
public static final String MAGIC_STRING
public UrlEnvironmentHandler(List<String> urls, Map<String,String> environment)
public UrlEnvironmentHandler(String environmentFileName)
public UrlEnvironmentHandler()
public void setUrls(List<String> urls)
urls - the URLs to set.public List<String> getStartUrls(String environment)
getStartUrls in interface EnvironmentHandlerenvironment - The environment for which the URLs are needed.Copyright © 2018. All rights reserved.