class CreateCommentDuringUpdateDelegate extends AbstractCreateCommentDelegate
Fields inherited from class | Fields |
---|---|
class AbstractCommentDelegate |
issue, projectRoleManager |
Constructor and description |
---|
CreateCommentDuringUpdateDelegate(com.atlassian.jira.issue.Issue issue, com.atlassian.jira.issue.IssueInputParameters issueInputParameters, com.atlassian.jira.security.roles.ProjectRoleManager projectRoleManager) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.function.Consumer<java.lang.String> |
getCommentInputParameter() |
|
protected void |
handleGroupRestriction(java.lang.String groupName) |
|
protected void |
handleProjectRoleRestriction(java.lang.Long projectRoleId) |
|
void |
internal() |
|
void |
setGroupRestriction(java.lang.String groupName) Restrict the visibility of the comment to members of a group. |
|
void |
setProjectRoleRestriction(java.lang.String projectRoleName) Restrict the visibility of the comment to members of a project role. |
|
void |
setProjectRoleRestriction(com.atlassian.jira.security.roles.ProjectRole projectRole) Restrict the visibility of the comment to members of a project role. |
Methods inherited from class | Name |
---|---|
class AbstractCreateCommentDelegate |
internal, setGroupRestriction, setProjectRoleRestriction, setProjectRoleRestriction |
class AbstractCommentDelegate |
handleGroupRestriction, handleProjectRoleRestriction, setGroupRestriction, setProjectRoleRestriction, setProjectRoleRestriction, throwDuplicateVisibilityRestrictionException, throwIfServiceDeskIssue |
Restrict the visibility of the comment to members of a group.
groupName
- the name of the group that will have visibility of the commentRestrict the visibility of the comment to members of a project role.
projectRoleName
- the name of the project role that will have visibility of the commentRestrict the visibility of the comment to members of a project role.
projectRole
- the project role that will have visibility of the comment