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 classAddComment.DescriptorImpl
-
Field Summary
Fields Modifier and Type Field Description StringcommentTextbooleanpostCommentForEveryCommit
-
Constructor Summary
Constructors Constructor Description AddComment(boolean postCommentForEveryCommit, String commentText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()voidperform(List<JiraCommit> jiraCommitList, AbstractBuild build, Launcher launcher, BuildListener listener)StringtoString()-
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:
performin classJiraOperationExtension
-
-