Package io.jenkins.plugins.railflow
Interface TestRailParameters
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
TestRailParametersImpl
Holds the parameters for connecting to TestRail.
- Author:
- Liu Yang
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TestRailParameters.Builder
New builder.Gets the password of the TestRail user.Gets the proxy settings.int
Gets the connection timeout to the TestRail service.getUrl()
Gets the TestRail url.Gets the TestRail username.
-
Method Details
-
builder
static TestRailParameters.Builder builder(String testRailUrl, String testRailUsername, String testRailPassword) New builder.- Parameters:
testRailUrl
- the TestRail url.testRailUsername
- the TestRail username.testRailPassword
- the password of the TestRail user.- Returns:
- builder.
-
getUrl
Gets the TestRail url.- Returns:
- the TestRail URL
-
getUsername
Gets the TestRail username.- Returns:
- the TestRail username
-
getPassword
Gets the password of the TestRail user.- Returns:
- the password of the TestRail user
-
getTimeout
int getTimeout()Gets the connection timeout to the TestRail service.- Returns:
- the connection timeout in seconds
-
getProxySettings
Optional<ProxySettings> getProxySettings()Gets the proxy settings.- Returns:
- the proxy settings
-