com.atlassian.jira.issue.fields
Class FieldRenderingContext
java.lang.Object
com.atlassian.jira.issue.fields.FieldRenderingContext
public final class FieldRenderingContext
- extends Object
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 |
static String |
EXCEL_VIEW
used to signify we are rendering for excel |
static String |
ISSUE_VIEW
used to signify we are on the ViewIssue page |
static String |
NAVIGATOR_VIEW
This is a display hint that is placed into the displayParameters when rendering the issue navigator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISSUE_VIEW
public static final String ISSUE_VIEW
- used to signify we are on the ViewIssue page
- See Also:
- Constant Field Values
EXCEL_VIEW
public static final String EXCEL_VIEW
- used to signify we are rendering for excel
- See Also:
- Constant Field Values
NAVIGATOR_VIEW
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.
- See Also:
- Constant Field Values
FieldRenderingContext
public FieldRenderingContext()
Copyright © 2002-2010 Atlassian. All Rights Reserved.