Class ElectricFlowGenericRestApi
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
org.jenkinsci.plugins.electricflow.ElectricFlowGenericRestApi
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
,CallRestApiModel
public class ElectricFlowGenericRestApi
extends Recorder
implements SimpleBuildStep, CallRestApiModel
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()
void
perform
(Run<?, ?> run, FilePath filePath, Launcher launcher, TaskListener taskListener) void
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) Methods inherited from class hudson.tasks.Recorder
getDescriptor
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuild
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuild
Methods inherited from interface org.jenkinsci.plugins.electricflow.models.CallRestApiModel
getParameters, getSummary, isEnvVarNameForResultSet
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
ElectricFlowGenericRestApi
-
-
Method Details
-
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath filePath, @NonNull Launcher launcher, @NonNull TaskListener taskListener) throws InterruptedException, IOException- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getConfiguration
- Specified by:
getConfiguration
in interfaceCallRestApiModel
-
setConfiguration
-
getOverrideCredential
- Specified by:
getOverrideCredential
in interfaceCallRestApiModel
-
setOverrideCredential
-
getUrlPath
- Specified by:
getUrlPath
in interfaceCallRestApiModel
-
setUrlPath
-
getHttpMethod
- Specified by:
getHttpMethod
in interfaceCallRestApiModel
-
setHttpMethod
-
getParameters
- Specified by:
getParameters
in interfaceCallRestApiModel
-
setParameters
-
getBody
- Specified by:
getBody
in interfaceCallRestApiModel
-
setBody
-
getEnvVarNameForResult
- Specified by:
getEnvVarNameForResult
in interfaceCallRestApiModel
-
setEnvVarNameForResult
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-