public class IssueUpdatesBuilder
extends hudson.tasks.Builder
When the user configures the project and enables this builder,
Descriptor.newInstance(StaplerRequest) is invoked and a new
IssueUpdatesBuilder is created. The created instance is persisted to
the project configuration XML by using XStream, so this allows you to use
instance fields (like #name) to remember the configuration.
When a build is performed, the
perform(AbstractBuild, Launcher, BuildListener) method will be
invoked.
| Modifier and Type | Class and Description |
|---|---|
static class |
IssueUpdatesBuilder.DescriptorImpl
Descriptor for
IssueUpdatesBuilder. |
| Constructor and Description |
|---|
IssueUpdatesBuilder(String restAPIUrl,
String userName,
String password,
String jql,
String workflowActionName,
String comment,
String customFieldId,
String customFieldValue,
boolean resettingFixedVersions,
boolean createNonExistingFixedVersions,
String fixedVersions,
boolean failIfJqlFails,
boolean failIfNoIssuesReturned,
boolean failIfNoJiraConnection) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment() |
String |
getCustomFieldId() |
String |
getCustomFieldValue() |
IssueUpdatesBuilder.DescriptorImpl |
getDescriptor() |
String |
getFixedVersions() |
String |
getJql() |
String |
getPassword() |
String |
getRestAPIUrl() |
String |
getUserName() |
String |
getWorkflowActionName() |
boolean |
isFailIfJqlFails() |
boolean |
isFailIfNoIssuesReturned() |
boolean |
isFailIfNoJiraConnection() |
boolean |
isResettingFixedVersions() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
@DataBoundConstructor public IssueUpdatesBuilder(String restAPIUrl, String userName, String password, String jql, String workflowActionName, String comment, String customFieldId, String customFieldValue, boolean resettingFixedVersions, boolean createNonExistingFixedVersions, String fixedVersions, boolean failIfJqlFails, boolean failIfNoIssuesReturned, boolean failIfNoJiraConnection)
public String getRestAPIUrl()
public String getUserName()
public String getPassword()
public String getJql()
public String getWorkflowActionName()
public String getComment()
public String getCustomFieldId()
public String getCustomFieldValue()
public String getFixedVersions()
public boolean isResettingFixedVersions()
public boolean isFailIfJqlFails()
public boolean isFailIfNoIssuesReturned()
public boolean isFailIfNoJiraConnection()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerIOExceptionInterruptedExceptionpublic IssueUpdatesBuilder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2004–2015. All rights reserved.