Interface ExportRequestContext
- All Superinterfaces:
AttributeContext
A context that is passed to ExportRenderer and ExportRendererProvider during preparation
phase of the export.
The main capability of this interface is to allow the renderer to request calculation of specific attributes
via requireAttribute(com.almworks.jira.structure.api.attribute.AttributeSpec<?>) methods. These attributes will be available later during the main phase of the
export.
Additionally, a renderer may prepare some data and store it in the context.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the forest spec being exported.voidrequireAttribute(AttributeSpec<?> attribute) Require an attribute to be calculated for this request.Methods inherited from interface AttributeContext
getBaseStructureId, getBaseUrl, getI18n, getI18nHelper, getLoadTimeMillis, getLoadTimeNanos, getLocale, getObject, getTimeZone, getUser, putObject
-
Method Details
-
requireAttribute
Require an attribute to be calculated for this request. The values can later be retrieved from
ExportRow.get(AttributeSpec)orExportRenderContext.getValues().- Parameters:
attribute- The attribute specification. Passingnullallowed and has no effect.- See Also:
-
getForestSpec
Returns the forest spec being exported.
-