Class WorkReportConfiguration
java.lang.Object
com.polarion.alm.tracker.workreport.WorkReportConfiguration
- All Implemented Interfaces:
IWorkReportConfiguration
- Author:
- Jiri Banszel, POLARION SOFTWARE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOnly work records from work items in this context will be included in the report.Grouping definition - a list of grouping ids.boolean
Whether to include the timeline in the report (showing time spent on individual days, weeks, etc., seeIWorkReportConfiguration.getTimeScale()
).boolean
Whether to include the list of corresponding Work Records below each leaf group in the report.Only work records with this date or earlier will be included in the report.Only work records with this date or later will be included in the report.Named values that will be presented in the work report.Scale of the timeline.getTitle()
Returns title of the report that will be presented in the report.If set only work records from the work items in the list will be included in the report.If set only work records from the work items matching the query will be included in the report.void
setContextId
(IContextId contextId) void
setGroupings
(List groupings) void
setIncludeTimeline
(boolean includeTimeline) void
setIncludeWorkRecordList
(boolean includeWorkRecordList) void
setPeriodEnd
(Date periodEnd) void
setPeriodStart
(Date periodStart) void
setTimeScale
(String timeScale) void
setWorkItems
(IPObjectList workItems) void
setWorkItemsQuery
(String query)
-
Constructor Details
-
WorkReportConfiguration
-
-
Method Details
-
getTitle
Description copied from interface:IWorkReportConfiguration
Returns title of the report that will be presented in the report.- Specified by:
getTitle
in interfaceIWorkReportConfiguration
-
getProperties
Description copied from interface:IWorkReportConfiguration
Named values that will be presented in the work report.- Specified by:
getProperties
in interfaceIWorkReportConfiguration
-
getContextId
Description copied from interface:IWorkReportConfiguration
Only work records from work items in this context will be included in the report.- Specified by:
getContextId
in interfaceIWorkReportConfiguration
- Returns:
- the
IContextId
for this configuration
-
setContextId
-
getGroupings
Description copied from interface:IWorkReportConfiguration
Grouping definition - a list of grouping ids.- Specified by:
getGroupings
in interfaceIWorkReportConfiguration
- Returns:
- list of
String
s - See Also:
-
setGroupings
-
getPeriodStart
Description copied from interface:IWorkReportConfiguration
Only work records with this date or later will be included in the report.- Specified by:
getPeriodStart
in interfaceIWorkReportConfiguration
- Returns:
- date or
null
if there is no such limit on work records
-
setPeriodStart
-
getPeriodEnd
Description copied from interface:IWorkReportConfiguration
Only work records with this date or earlier will be included in the report.- Specified by:
getPeriodEnd
in interfaceIWorkReportConfiguration
- Returns:
- date or
null
if there is no such limit on work records
-
setPeriodEnd
-
getTimeScale
Description copied from interface:IWorkReportConfiguration
Scale of the timeline. Has no effect ifIWorkReportConfiguration.getIncludeTimeline()
returnsfalse
.- Specified by:
getTimeScale
in interfaceIWorkReportConfiguration
- Returns:
- time scale option id
- See Also:
-
getIncludeTimeline
public boolean getIncludeTimeline()Description copied from interface:IWorkReportConfiguration
Whether to include the timeline in the report (showing time spent on individual days, weeks, etc., seeIWorkReportConfiguration.getTimeScale()
).- Specified by:
getIncludeTimeline
in interfaceIWorkReportConfiguration
-
setIncludeTimeline
public void setIncludeTimeline(boolean includeTimeline) - Since:
- 3.3
-
setTimeScale
-
setIncludeWorkRecordList
public void setIncludeWorkRecordList(boolean includeWorkRecordList) - Since:
- 3.3
-
getIncludeWorkRecordList
public boolean getIncludeWorkRecordList()Description copied from interface:IWorkReportConfiguration
Whether to include the list of corresponding Work Records below each leaf group in the report.- Specified by:
getIncludeWorkRecordList
in interfaceIWorkReportConfiguration
-
getWorkItems
Description copied from interface:IWorkReportConfiguration
If set only work records from the work items in the list will be included in the report.- Specified by:
getWorkItems
in interfaceIWorkReportConfiguration
- Returns:
- list of
IWorkItem
ornull
-
setWorkItems
-
setWorkItemsQuery
- Since:
- 3.5.0
-
getWorkItemsQuery
Description copied from interface:IWorkReportConfiguration
If set only work records from the work items matching the query will be included in the report. IfIWorkReportConfiguration.getWorkItems()
returns non-null
list, this query is ignored.- Specified by:
getWorkItemsQuery
in interfaceIWorkReportConfiguration
-