Interface WorkItemRenderer
- All Superinterfaces:
BasicRenderer
,Renderer<WorkItemRenderer>
- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptionLinks rendered withRenderer.withLinks(boolean)
set to 'true' will open in the Baseline Collection context, and the revision parameter will not be present in the link.Shortcut for callingwithDecoration(boolean)
with true.withDecoration
(boolean value) Configures if the strike through indicating resolved item and text color indicating the severity should be used Default is true when this method is not used.Shortcut for callingwithLinksToDocument(boolean)
with true.withLinksToDocument
(boolean value) Configures if the Links to the Document containing the Work Item should be rendered.Shortcut for callingwithOutlineNumber(boolean)
with true.withOutlineNumber
(boolean value) Configures if the Outline Number is rendered instead of ID.withRevisionIconInBaseline
(boolean value) IfRenderer.withRevisionIconInBaseline(boolean)
is called withtrue
,Renderer.withRevisionIcon(boolean)
is called withtrue
and the rendered object has no requested revision, then the current baseline's revision (if any) is used as the tooltip on the revision icon.Shortcut for callingwithTitle(boolean)
with true.withTitle
(boolean value) Default is false when this method is not used.withTruncatedTitle
(int maxTitleLength) Renders work item with truncated title.
Maximum length of title ismaxTitleLength
symbols.Shortcut for callingwrapTitle(boolean)
with true.wrapTitle
(boolean value) Defines if title will be wrapped.Methods inherited from interface com.polarion.alm.shared.api.model.Renderer
htmlFor, htmlTo, openLinksInNewWindow, openLinksInNewWindow, withBaselineIcon, withBaselineIcon, withIcon, withIcon, withLinks, withLinks, withRevisionIcon, withRevisionIcon, withRevisionOrBaselineIcon, withText, withText
-
Method Details
-
withTitle
Default is false when this method is not used. -
withTitle
Shortcut for callingwithTitle(boolean)
with true. -
wrapTitle
Defines if title will be wrapped. Default is true when this method is not used.- Since:
- 3.9.1
-
wrapTitle
Shortcut for callingwrapTitle(boolean)
with true.- Since:
- 3.9.1
-
withTruncatedTitle
Renders work item with truncated title.
Maximum length of title ismaxTitleLength
symbols. Also three-dot symbol will be added.
If the argument is less than 1, original title will be rendered.- Parameters:
maxTitleLength
- maximal length of the title- Since:
- 3.9.1
-
withDecoration
Configures if the strike through indicating resolved item and text color indicating the severity should be used Default is true when this method is not used. -
withDecoration
Shortcut for callingwithDecoration(boolean)
with true. -
withOutlineNumber
Configures if the Outline Number is rendered instead of ID.- Since:
- 3.18.2
-
withOutlineNumber
Shortcut for callingwithOutlineNumber(boolean)
with true.- Since:
- 3.18.2
-
withRevisionIconInBaseline
Description copied from interface:Renderer
IfRenderer.withRevisionIconInBaseline(boolean)
is called withtrue
,Renderer.withRevisionIcon(boolean)
is called withtrue
and the rendered object has no requested revision, then the current baseline's revision (if any) is used as the tooltip on the revision icon.- Specified by:
withRevisionIconInBaseline
in interfaceRenderer<WorkItemRenderer>
-
withLinksToDocument
Configures if the Links to the Document containing the Work Item should be rendered.- Since:
- 3.24.4
-
withLinksToDocument
Shortcut for callingwithLinksToDocument(boolean)
with true.- Since:
- 3.24.4
-