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.booleanWhether to include the timeline in the report (showing time spent on individual days, weeks, etc., seeIWorkReportConfiguration.getTimeScale()).booleanWhether 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.voidsetContextId(IContextId contextId) voidsetGroupings(List groupings) voidsetIncludeTimeline(boolean includeTimeline) voidsetIncludeWorkRecordList(boolean includeWorkRecordList) voidsetPeriodEnd(Date periodEnd) voidsetPeriodStart(Date periodStart) voidsetTimeScale(String timeScale) voidsetWorkItems(IPObjectList workItems) voidsetWorkItemsQuery(String query)
-
Constructor Details
-
WorkReportConfiguration
-
-
Method Details
-
getTitle
Description copied from interface:IWorkReportConfigurationReturns title of the report that will be presented in the report.- Specified by:
getTitlein interfaceIWorkReportConfiguration
-
getProperties
Description copied from interface:IWorkReportConfigurationNamed values that will be presented in the work report.- Specified by:
getPropertiesin interfaceIWorkReportConfiguration
-
getContextId
Description copied from interface:IWorkReportConfigurationOnly work records from work items in this context will be included in the report.- Specified by:
getContextIdin interfaceIWorkReportConfiguration- Returns:
- the
IContextIdfor this configuration
-
setContextId
-
getGroupings
Description copied from interface:IWorkReportConfigurationGrouping definition - a list of grouping ids.- Specified by:
getGroupingsin interfaceIWorkReportConfiguration- Returns:
- list of
Strings - See Also:
-
setGroupings
-
getPeriodStart
Description copied from interface:IWorkReportConfigurationOnly work records with this date or later will be included in the report.- Specified by:
getPeriodStartin interfaceIWorkReportConfiguration- Returns:
- date or
nullif there is no such limit on work records
-
setPeriodStart
-
getPeriodEnd
Description copied from interface:IWorkReportConfigurationOnly work records with this date or earlier will be included in the report.- Specified by:
getPeriodEndin interfaceIWorkReportConfiguration- Returns:
- date or
nullif there is no such limit on work records
-
setPeriodEnd
-
getTimeScale
Description copied from interface:IWorkReportConfigurationScale of the timeline. Has no effect ifIWorkReportConfiguration.getIncludeTimeline()returnsfalse.- Specified by:
getTimeScalein interfaceIWorkReportConfiguration- Returns:
- time scale option id
- See Also:
-
getIncludeTimeline
public boolean getIncludeTimeline()Description copied from interface:IWorkReportConfigurationWhether to include the timeline in the report (showing time spent on individual days, weeks, etc., seeIWorkReportConfiguration.getTimeScale()).- Specified by:
getIncludeTimelinein 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:IWorkReportConfigurationWhether to include the list of corresponding Work Records below each leaf group in the report.- Specified by:
getIncludeWorkRecordListin interfaceIWorkReportConfiguration
-
getWorkItems
Description copied from interface:IWorkReportConfigurationIf set only work records from the work items in the list will be included in the report.- Specified by:
getWorkItemsin interfaceIWorkReportConfiguration- Returns:
- list of
IWorkItemornull
-
setWorkItems
-
setWorkItemsQuery
- Since:
- 3.5.0
-
getWorkItemsQuery
Description copied from interface:IWorkReportConfigurationIf set only work records from the work items matching the query will be included in the report. IfIWorkReportConfiguration.getWorkItems()returns non-nulllist, this query is ignored.- Specified by:
getWorkItemsQueryin interfaceIWorkReportConfiguration
-