public abstract static class ServiceDeskCommentParameters.Builder<T extends ServiceDeskCommentParameters> extends Object
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.jira.user.ApplicationUser |
author |
protected String |
body |
protected Map<String,com.atlassian.jira.util.json.JSONObject> |
commentProperties |
protected Date |
created |
protected String |
groupLevel |
protected com.atlassian.jira.issue.Issue |
issue |
protected Long |
roleLevelId |
protected Boolean |
shouldDispatchEvent |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ServiceDeskCommentParameters.Builder<T> |
author(com.atlassian.jira.user.ApplicationUser author) |
ServiceDeskCommentParameters.Builder<T> |
body(String body) |
abstract T |
build() |
ServiceDeskCommentParameters.Builder<T> |
commentProperties(Map<String,com.atlassian.jira.util.json.JSONObject> commentProperties) |
ServiceDeskCommentParameters.Builder<T> |
created(Date created) |
ServiceDeskCommentParameters.Builder<T> |
groupLevel(String groupLevel) |
ServiceDeskCommentParameters.Builder<T> |
issue(com.atlassian.jira.issue.Issue issue) |
ServiceDeskCommentParameters.Builder<T> |
roleLevelId(Long roleLevelId) |
ServiceDeskCommentParameters.Builder<T> |
shouldDispatchEvent(boolean shouldDispatchEvent) |
protected String body
protected String groupLevel
protected Long roleLevelId
protected Date created
protected com.atlassian.jira.user.ApplicationUser author
protected com.atlassian.jira.issue.Issue issue
protected Boolean shouldDispatchEvent
public ServiceDeskCommentParameters.Builder<T> body(String body)
public ServiceDeskCommentParameters.Builder<T> issue(com.atlassian.jira.issue.Issue issue)
public ServiceDeskCommentParameters.Builder<T> groupLevel(String groupLevel)
public ServiceDeskCommentParameters.Builder<T> roleLevelId(Long roleLevelId)
public ServiceDeskCommentParameters.Builder<T> created(Date created)
public ServiceDeskCommentParameters.Builder<T> author(com.atlassian.jira.user.ApplicationUser author)
public ServiceDeskCommentParameters.Builder<T> commentProperties(Map<String,com.atlassian.jira.util.json.JSONObject> commentProperties)
public ServiceDeskCommentParameters.Builder<T> shouldDispatchEvent(boolean shouldDispatchEvent)
public abstract T build()
Copyright © 2017 Atlassian. All rights reserved.