public class ElectricFlowGenericRestApi extends Recorder implements SimpleBuildStep, CallRestApiModel
Modifier and Type | Class and Description |
---|---|
static class |
ElectricFlowGenericRestApi.DescriptorImpl |
Publisher.DescriptorExtensionListImpl
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
BUILDERS, PUBLISHERS
Constructor and Description |
---|
ElectricFlowGenericRestApi(List<Pair> parameters) |
Modifier and Type | Method and Description |
---|---|
String |
getBody() |
String |
getConfiguration() |
String |
getEnvVarNameForResult() |
String |
getHttpMethod() |
Credential |
getOverrideCredential() |
List<Pair> |
getParameters() |
BuildStepMonitor |
getRequiredMonitorService() |
String |
getUrlPath() |
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener taskListener) |
void |
setBody(String body) |
void |
setConfiguration(String configuration) |
void |
setEnvVarNameForResult(String envVarNameForResult) |
void |
setHttpMethod(String httpMethod) |
void |
setOverrideCredential(Credential overrideCredential) |
void |
setParameters(List<Pair> parameters) |
void |
setUrlPath(String urlPath) |
getDescriptor
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
perform, perform, requiresWorkspace
getProjectAction, getProjectActions, perform, prebuild
getParameters, getSummary, isEnvVarNameForResultSet
public void perform(@NonNull Run<?,?> run, @NonNull FilePath filePath, @NonNull Launcher launcher, @NonNull TaskListener taskListener) throws InterruptedException, IOException
perform
in interface SimpleBuildStep
InterruptedException
IOException
public String getConfiguration()
getConfiguration
in interface CallRestApiModel
@DataBoundSetter public void setConfiguration(String configuration)
public Credential getOverrideCredential()
getOverrideCredential
in interface CallRestApiModel
@DataBoundSetter public void setOverrideCredential(Credential overrideCredential)
public String getUrlPath()
getUrlPath
in interface CallRestApiModel
@DataBoundSetter public void setUrlPath(String urlPath)
public String getHttpMethod()
getHttpMethod
in interface CallRestApiModel
@DataBoundSetter public void setHttpMethod(String httpMethod)
public List<Pair> getParameters()
getParameters
in interface CallRestApiModel
public String getBody()
getBody
in interface CallRestApiModel
@DataBoundSetter public void setBody(String body)
public String getEnvVarNameForResult()
getEnvVarNameForResult
in interface CallRestApiModel
@DataBoundSetter public void setEnvVarNameForResult(String envVarNameForResult)
public BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface BuildStep
Copyright © 2016–2024. All rights reserved.