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 ClassesNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBody()voidperform(Run<?, ?> run, FilePath filePath, Launcher launcher, TaskListener taskListener) voidvoidsetConfiguration(String configuration) voidsetEnvVarNameForResult(String envVarNameForResult) voidsetHttpMethod(String httpMethod) voidsetOverrideCredential(Credential overrideCredential) voidsetParameters(List<Pair> parameters) voidsetUrlPath(String urlPath) Methods inherited from class hudson.tasks.Recorder
getDescriptorMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuildMethods inherited from interface org.jenkinsci.plugins.electricflow.models.CallRestApiModel
getParameters, getSummary, isEnvVarNameForResultSetMethods 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:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
getConfiguration
- Specified by:
getConfigurationin interfaceCallRestApiModel
-
setConfiguration
-
getOverrideCredential
- Specified by:
getOverrideCredentialin interfaceCallRestApiModel
-
setOverrideCredential
-
getUrlPath
- Specified by:
getUrlPathin interfaceCallRestApiModel
-
setUrlPath
-
getHttpMethod
- Specified by:
getHttpMethodin interfaceCallRestApiModel
-
setHttpMethod
-
getParameters
- Specified by:
getParametersin interfaceCallRestApiModel
-
setParameters
-
getBody
- Specified by:
getBodyin interfaceCallRestApiModel
-
setBody
-
getEnvVarNameForResult
- Specified by:
getEnvVarNameForResultin interfaceCallRestApiModel
-
setEnvVarNameForResult
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep
-