public class IssueXMLView extends AbstractIssueView
ACTION_ORDER_DESC, descriptor
Constructor and Description |
---|
IssueXMLView(JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
FieldLayoutManager fieldLayoutManager,
CommentManager commentManager,
IssueViewUtil issueViewUtil,
AggregateTimeTrackingCalculatorFactory aggregateTimeTrackingCalculatorFactory,
BuildUtilsInfo buildUtilsInfo,
DateTimeFormatterFactory dateTimeFormatterFactory,
FieldVisibilityManager fieldVisibilityManager) |
Modifier and Type | Method and Description |
---|---|
String |
getBody(Issue issue,
IssueViewRequestParams issueViewRequestParams) |
String |
getContent(Issue issue,
IssueViewRequestParams issueViewRequestParams) |
String |
getCustomFieldXML(CustomField field,
Issue issue) |
String |
getPrettyDuration(Long v) |
String |
getRenderedContent(String fieldName,
String value,
Issue issue) |
List<FieldLayoutItem> |
getVisibleCustomFields(Issue issue,
ApplicationUser user,
IssueViewFieldParams issueViewFieldParams) |
init, writeHeaders
public IssueXMLView(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, FieldLayoutManager fieldLayoutManager, CommentManager commentManager, IssueViewUtil issueViewUtil, AggregateTimeTrackingCalculatorFactory aggregateTimeTrackingCalculatorFactory, BuildUtilsInfo buildUtilsInfo, DateTimeFormatterFactory dateTimeFormatterFactory, FieldVisibilityManager fieldVisibilityManager)
public String getContent(Issue issue, IssueViewRequestParams issueViewRequestParams)
getContent
in interface IssueView
getContent
in class AbstractIssueView
public String getBody(Issue issue, IssueViewRequestParams issueViewRequestParams)
getBody
in class AbstractIssueView
public List<FieldLayoutItem> getVisibleCustomFields(Issue issue, ApplicationUser user, IssueViewFieldParams issueViewFieldParams)
public String getCustomFieldXML(CustomField field, Issue issue)
Copyright © 2002-2016 Atlassian. All Rights Reserved.