public final class

FieldRenderingContext

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.FieldRenderingContext

Class Overview

FieldRenderingContext strings are passed in the displayParameters map as keys with a TRUE value. This allows us to test that we are for instance on the ViewIssue page, or rendering an excel view.

Summary

Constants
String EMAIL_VIEW used to signify we are rendering for emails
String EXCEL_VIEW used to signify we are rendering for excel
String ISSUE_VIEW used to signify we are on the ViewIssue page
String NAVIGATOR_VIEW This is a display hint that is placed into the displayParameters when rendering the issue navigator.
String PRINT_VIEW used to signify we are rendering simplified view used for printing
Public Constructors
FieldRenderingContext()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String EMAIL_VIEW

used to signify we are rendering for emails

Constant Value: "email_view"

public static final String EXCEL_VIEW

used to signify we are rendering for excel

Constant Value: "excel_view"

public static final String ISSUE_VIEW

used to signify we are on the ViewIssue page

Constant Value: "view_issue"

public static final String NAVIGATOR_VIEW

This is a display hint that is placed into the displayParameters when rendering the issue navigator. This value allows field views the ability to determine whether a field is being rendered in the context of the issue navigator or in some other context. An example of where this is used can be found in the jira-labels-plugin in the column-view-label.vm.

Constant Value: "navigator_view"

public static final String PRINT_VIEW

used to signify we are rendering simplified view used for printing

Constant Value: "print_view"

Public Constructors

public FieldRenderingContext ()