Package de.xima.fc.e2e.common
Class ServerTestSetupParams
- java.lang.Object
-
- de.xima.fc.e2e.common.ServerTestSetupParams
-
- All Implemented Interfaces:
Serializable
public final class ServerTestSetupParams extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerTestSetupParams(ETestCaseSetupMethod setupMethod, URI setupRoot, String contextUrl, String contextPath, MailServerSettings mailServerSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBaseUrl()
String
getContextPath()
MailServerSettings
getMailServerSettings()
ETestCaseSetupMethod
getSetupMethod()
URI
getSetupRoot()
-
-
-
Constructor Detail
-
ServerTestSetupParams
public ServerTestSetupParams(ETestCaseSetupMethod setupMethod, URI setupRoot, String contextUrl, String contextPath, MailServerSettings mailServerSettings)
-
-
Method Detail
-
getMailServerSettings
public MailServerSettings getMailServerSettings()
- Returns:
- Settings for the client mail server.
-
getBaseUrl
public String getBaseUrl()
- Returns:
- The base URL to the FC server (including the host etc.) For example
http://localhost:8080/xima-formcycle
.
-
getContextPath
public String getContextPath()
- Returns:
- Context path of the FC server (the beginning of the URI path, without the host etc.). For example
xima-formcycle
.
-
getSetupMethod
public ETestCaseSetupMethod getSetupMethod()
- Returns:
- How to interpret the content of the
getSetupRoot()
.
-
getSetupRoot
public URI getSetupRoot()
- Returns:
- The absolute path to the
setup
directory of the test case.
-
-