public class ElectricFlowPipelinePublisher
extends hudson.tasks.Recorder
Builder.
When the user configures the project and enables this builder is invoked
and a new ElectricFlowPipelinePublisher is created. The created
instance is persisted to the project configuration XML by using XStream, so
this allows you to use instance fields (like projectName) to
remember the configuration.
When a build is performed, the perform(hudson.model.AbstractBuild, hudson.Launcher, hudson.model.BuildListener) method will be invoked.
| Modifier and Type | Class and Description |
|---|---|
static class |
ElectricFlowPipelinePublisher.DescriptorImpl
The class is marked as public so that it can be accessed from views.
|
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
ElectricFlowPipelinePublisher() |
| Modifier and Type | Method and Description |
|---|---|
net.sf.json.JSONArray |
getAdditionalOption() |
String |
getAddParam() |
String |
getCredential() |
ElectricFlowPipelinePublisher.DescriptorImpl |
getDescriptor() |
String |
getPipelineName() |
String |
getProjectName() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
setAdditionalOption(net.sf.json.JSONArray additionalOption) |
void |
setAddParam(String addParam) |
void |
setCredential(String credential) |
void |
setPipelineName(String pipelineName) |
void |
setProjectName(String projectName) |
all, getProjectAction, needsToRunAfterFinalized, prebuild@DataBoundConstructor public ElectricFlowPipelinePublisher()
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerpublic net.sf.json.JSONArray getAdditionalOption()
public String getAddParam()
public String getCredential()
public ElectricFlowPipelinePublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Recorderpublic String getPipelineName()
public String getProjectName()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
@DataBoundSetter public void setAdditionalOption(net.sf.json.JSONArray additionalOption)
@DataBoundSetter public void setAddParam(String addParam)
@DataBoundSetter public void setCredential(String credential)
@DataBoundSetter public void setPipelineName(String pipelineName)
@DataBoundSetter public void setProjectName(String projectName)
Copyright © 2016–2017. All rights reserved.