Package com.atlassian.jira.issue.fields
Class FieldRenderingContext
java.lang.Object
com.atlassian.jira.issue.fields.FieldRenderingContext
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.
- Since:
- v3.12
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringused to signify we are rendering for emailsstatic final Stringused to signify we are rendering for excelstatic final Stringused to signify we are on the ViewIssue pagestatic final StringThis is a display hint that is placed into the displayParameters when rendering the issue navigator.static final Stringused to signify we are rendering simplified view used for printing -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ISSUE_VIEW
used to signify we are on the ViewIssue page- See Also:
-
EXCEL_VIEW
used to signify we are rendering for excel- See Also:
-
EMAIL_VIEW
used to signify we are rendering for emails- See Also:
-
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.- See Also:
-
PRINT_VIEW
used to signify we are rendering simplified view used for printing- See Also:
-
-
Constructor Details
-
FieldRenderingContext
public FieldRenderingContext()
-