public class XrayEnvironmentVariableSetter extends Object
Modifier and Type | Method and Description |
---|---|
static XrayEnvironmentVariableSetter |
failed()
Quick method that will return a Failed XrayEnvironmentVariableSetter with no raw response.
|
static XrayEnvironmentVariableSetter |
failed(String message)
Quick method that will return a Failed XrayEnvironmentVariableSetter with a raw response.
|
static XrayEnvironmentVariableSetter |
parseCucumberFeatureImportResponse(Collection<com.xpandit.xray.model.UploadResult> results,
HostingType hostingType,
PrintStream logger)
Parses all the Upload Results of a Cucumber Import (features) request.
|
static XrayEnvironmentVariableSetter |
parseResultImportResponse(Collection<com.xpandit.xray.model.UploadResult> results,
HostingType hostingType,
PrintStream logger)
Parses all the Upload Results of a Test result importation.
|
void |
setAction(hudson.model.Run<?,?> build,
hudson.model.TaskListener taskListener) |
static XrayEnvironmentVariableSetter |
success()
Quick method that will return a Success XrayEnvironmentVariableSetter with no raw response.
|
static XrayEnvironmentVariableSetter |
success(String message)
Quick method that will return a Success XrayEnvironmentVariableSetter with a raw response.
|
public static XrayEnvironmentVariableSetter parseCucumberFeatureImportResponse(Collection<com.xpandit.xray.model.UploadResult> results, HostingType hostingType, PrintStream logger)
results
- the request results.hostingType
- the hosting type of the Jira instance.logger
- the logger that will be used to log some messages.public static XrayEnvironmentVariableSetter parseResultImportResponse(Collection<com.xpandit.xray.model.UploadResult> results, HostingType hostingType, PrintStream logger)
results
- the request results.hostingType
- the hosting type of the Jira instance.logger
- the logger that will be used to log some messages.public static XrayEnvironmentVariableSetter success()
public static XrayEnvironmentVariableSetter success(@Nullable String message)
public static XrayEnvironmentVariableSetter failed()
public static XrayEnvironmentVariableSetter failed(@Nullable String message)
public void setAction(hudson.model.Run<?,?> build, hudson.model.TaskListener taskListener)
Copyright © 2016–2022. All rights reserved.