public class ClientFactory extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<com.xpandit.xray.service.XrayCloudCredentials> |
getCloudClient(com.cloudbees.plugins.credentials.common.StandardCredentials credentials,
com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
Creates a Xray cloud client.
|
static Optional<com.xpandit.xray.service.XrayExporter> |
getCloudFeatureExportClient(com.cloudbees.plugins.credentials.common.StandardCredentials credentials,
com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
Creates a Xray cloud client for feature files exporting.
|
static Optional<com.xpandit.xray.service.XrayTestImporter> |
getCloudFeatureImportClient(com.cloudbees.plugins.credentials.common.StandardCredentials credentials,
com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
Creates a Xray cloud client for feature files importing.
|
static Optional<com.xpandit.xray.service.XrayImporter> |
getCloudResultsImportClient(com.cloudbees.plugins.credentials.common.StandardCredentials credentials,
com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
Creates a Xray cloud client for result file importing.
|
static Optional<com.xpandit.xray.service.XrayServerCredentials> |
getServerClient(String jiraURL,
com.cloudbees.plugins.credentials.common.StandardCredentials credentials,
com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
Creates a Xray server client.
|
static Optional<com.xpandit.xray.service.XrayServerCredentials> |
getServerClientWithoutCredentials(String jiraURL,
com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
Creates a Xray server client, without any credentials configured.
|
static Optional<com.xpandit.xray.service.XrayExporter> |
getServerFeatureExportClient(String jiraURL,
com.cloudbees.plugins.credentials.common.StandardCredentials credentials,
com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
Creates a Xray server client for feature files exporting.
|
static Optional<com.xpandit.xray.service.XrayTestImporter> |
getServerFeatureImportClient(String jiraURL,
com.cloudbees.plugins.credentials.common.StandardCredentials credentials,
com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
Creates a Xray server client for feature files importing.
|
static Optional<com.xpandit.xray.service.XrayImporter> |
getServerResultsImportClient(String jiraURL,
com.cloudbees.plugins.credentials.common.StandardCredentials credentials,
com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
Creates a Xray server client for result file importing.
|
public static Optional<com.xpandit.xray.service.XrayCloudCredentials> getCloudClient(com.cloudbees.plugins.credentials.common.StandardCredentials credentials, com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
credentials
- credentials to be used to authenticate the request.proxyBean
- The proxy configuration set by the user.public static Optional<com.xpandit.xray.service.XrayServerCredentials> getServerClient(String jiraURL, com.cloudbees.plugins.credentials.common.StandardCredentials credentials, com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
jiraURL
- base URL for the Jira Server/Dc instance.credentials
- credentials to be used to authenticate the request.proxyBean
- The proxy configuration set by the user.public static Optional<com.xpandit.xray.service.XrayServerCredentials> getServerClientWithoutCredentials(String jiraURL, com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
jiraURL
- base URL for the Jira Server/Dc instance.proxyBean
- The proxy configuration set by the user.public static Optional<com.xpandit.xray.service.XrayTestImporter> getCloudFeatureImportClient(com.cloudbees.plugins.credentials.common.StandardCredentials credentials, com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
credentials
- credentials to be used to authenticate the request.proxyBean
- The proxy configuration set by the user.public static Optional<com.xpandit.xray.service.XrayTestImporter> getServerFeatureImportClient(String jiraURL, com.cloudbees.plugins.credentials.common.StandardCredentials credentials, com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
jiraURL
- base URL for the Jira Server/Dc instance.credentials
- credentials to be used to authenticate the request.proxyBean
- The proxy configuration set by the user.public static Optional<com.xpandit.xray.service.XrayExporter> getCloudFeatureExportClient(com.cloudbees.plugins.credentials.common.StandardCredentials credentials, com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
credentials
- credentials to be used to authenticate the request.proxyBean
- The proxy configuration set by the user.public static Optional<com.xpandit.xray.service.XrayExporter> getServerFeatureExportClient(String jiraURL, com.cloudbees.plugins.credentials.common.StandardCredentials credentials, com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
jiraURL
- base URL for the Jira Server/Dc instance.credentials
- credentials to be used to authenticate the request.proxyBean
- The proxy configuration set by the user.public static Optional<com.xpandit.xray.service.XrayImporter> getCloudResultsImportClient(com.cloudbees.plugins.credentials.common.StandardCredentials credentials, com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
credentials
- credentials to be used to authenticate the request.proxyBean
- The proxy configuration set by the user.public static Optional<com.xpandit.xray.service.XrayImporter> getServerResultsImportClient(String jiraURL, com.cloudbees.plugins.credentials.common.StandardCredentials credentials, com.xpandit.xray.service.impl.delegates.HttpRequestProvider.ProxyBean proxyBean)
credentials
- credentials to be used to authenticate the request.proxyBean
- The proxy configuration set by the user.Copyright © 2016–2022. All rights reserved.