public class XrayEnvironmentVariableSetterUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FALSE_STRING |
static char |
SEPARATOR |
static String |
TRUE_STRING |
Modifier and Type | Method and Description |
---|---|
static String |
getImportedFeatureIssueKeys(Collection<com.xpandit.xray.model.UploadResult> results,
HostingType hostingType,
PrintStream logger)
Gets all the modified/created issues (Tests and Pre-conditions) from Cucumber feature file import requests.
|
static String |
getModifiedTestExecutionsKeys(Collection<com.xpandit.xray.model.UploadResult> results,
HostingType hostingType,
PrintStream logger)
Gets all the modified Test Execution keys, joined by the SEPARATOR.
|
static String |
getModifiedTestKeys(Collection<com.xpandit.xray.model.UploadResult> results,
HostingType hostingType,
PrintStream logger)
Gets all the modified Test keys in a single request, joined by the SEPARATOR.
|
static String |
getRawResponses(Collection<com.xpandit.xray.model.UploadResult> results)
Gets all the raw responses of the requests, joined by the SEPARATOR.
|
static String |
isUploadSuccessful(Collection<com.xpandit.xray.model.UploadResult> results)
Checks if all the requests were successful.
|
public static final char SEPARATOR
public static final String TRUE_STRING
public static final String FALSE_STRING
public static String getRawResponses(@Nonnull Collection<com.xpandit.xray.model.UploadResult> results)
results
- all the request results.public static String getModifiedTestExecutionsKeys(Collection<com.xpandit.xray.model.UploadResult> results, HostingType hostingType, @Nullable PrintStream logger)
results
- all the request results.public static String getModifiedTestKeys(Collection<com.xpandit.xray.model.UploadResult> results, HostingType hostingType, @Nullable PrintStream logger)
results
- result of the upload requests.hostingType
- the hosting type of the Jira instance.logger
- the logger that will be used to log some messages.public static String isUploadSuccessful(Collection<com.xpandit.xray.model.UploadResult> results)
results
- result of the upload requests.public static String getImportedFeatureIssueKeys(Collection<com.xpandit.xray.model.UploadResult> results, HostingType hostingType, @Nullable PrintStream logger)
results
- the Cucumber feature file import requests.hostingType
- the hosting type of the Jira instance.logger
- the logger that will be used to log some messages.Copyright © 2016–2022. All rights reserved.