Class RequestFeedbackDetails
java.lang.Object
com.atlassian.servicedesk.api.feedback.RequestFeedbackDetails
@PublicApi
@ParametersAreNonnullByDefault
@ReturnValuesAreNonnullByDefault
public class RequestFeedbackDetails
extends Object
The return type that wraps all required data for a Jira Service Management Request Feedback token and link
- Since:
- 3.7.0
-
Constructor Summary
ConstructorDescriptionRequestFeedbackDetails
(com.atlassian.jira.user.ApplicationUser recipient, com.atlassian.jira.issue.Issue issue, String feedbackQuestion, RequestFeedbackToken requestFeedbackToken, int feedbackScale) -
Method Summary
Modifier and TypeMethodDescriptionboolean
The question to ask when requesting feedback.int
The scale to be used for providing feedback.com.atlassian.jira.issue.Issue
getIssue()
The issue that this token was requested forcom.atlassian.jira.user.ApplicationUser
The recipient that this token was requested for, who must also be the reporter of the issueThe token details required to be able to add feedback on this requestint
hashCode()
toString()
-
Constructor Details
-
RequestFeedbackDetails
public RequestFeedbackDetails(com.atlassian.jira.user.ApplicationUser recipient, com.atlassian.jira.issue.Issue issue, String feedbackQuestion, RequestFeedbackToken requestFeedbackToken, int feedbackScale)
-
-
Method Details
-
getRecipient
public com.atlassian.jira.user.ApplicationUser getRecipient()The recipient that this token was requested for, who must also be the reporter of the issue- Returns:
- The expected recipient of feedback token
-
getIssue
public com.atlassian.jira.issue.Issue getIssue()The issue that this token was requested for- Returns:
- The issue of feedback token
-
getFeedbackQuestion
The question to ask when requesting feedback.- Returns:
- The question to ask
-
getRequestFeedbackToken
The token details required to be able to add feedback on this request- Returns:
- The feedback token details
-
getFeedbackScale
public int getFeedbackScale()The scale to be used for providing feedback.For example, a value of 5 here, means that the feedback should be recorded in form of 4 out of 5.
- Returns:
- The scale to be used for collecting feedback
-
equals
-
hashCode
public int hashCode() -
toString
-