Class AddComment
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<JiraOperationExtension>
-
- org.jenkinsci.plugins.jiraext.view.JiraOperationExtension
-
- org.jenkinsci.plugins.jiraext.view.AddComment
-
- All Implemented Interfaces:
Describable<JiraOperationExtension>
public class AddComment extends JiraOperationExtension
Add a comment to a JIRA issue- Author:
- dalvizu
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddComment.DescriptorImpl
-
Field Summary
Fields Modifier and Type Field Description String
commentText
boolean
postCommentForEveryCommit
-
Constructor Summary
Constructors Constructor Description AddComment(boolean postCommentForEveryCommit, String commentText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
void
perform(List<JiraCommit> jiraCommitList, AbstractBuild build, Launcher launcher, BuildListener listener)
String
toString()
-
Methods inherited from class org.jenkinsci.plugins.jiraext.view.JiraOperationExtension
getDescriptor, getJiraClientSvc, setJiraClientSvc
-
-
-
-
Field Detail
-
postCommentForEveryCommit
public final boolean postCommentForEveryCommit
-
commentText
public final String commentText
-
-
Constructor Detail
-
AddComment
@DataBoundConstructor public AddComment(boolean postCommentForEveryCommit, String commentText)
-
-
Method Detail
-
perform
public void perform(List<JiraCommit> jiraCommitList, AbstractBuild build, Launcher launcher, BuildListener listener)
- Specified by:
perform
in classJiraOperationExtension
-
-