Class ExportConfiguration
java.lang.Object
com.polarion.alm.tracker.exporter.ExportConfiguration
- All Implemented Interfaces:
IExportConfiguration
- Direct Known Subclasses:
MatrixExportConfiguration
,ModuleExportConfiguration
,TableExportConfiguration
,TreeExportConfiguration
Implementation of
IExportConfiguration
suitable for simple exports and for subclassing.- Author:
- Jiri Banszel, POLARION SOFTWARE
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.polarion.alm.tracker.exporter.IExportConfiguration
IExportConfiguration.IExportField
-
Constructor Summary
ConstructorDescriptionExportConfiguration
(IPObjectTree tree, String query, String charset, List fields, IExportTemplate template, Map params) Deprecated.ExportConfiguration
(IPObjectList workItems, String query, String charset, List fields, IExportTemplate template, Map params) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionReturns the module in the context that the export was invoked for.getParameter
(String id) getQuery()
Deprecated.Deprecated.Deprecated.void
setContextId
(IContextId contextId) void
void
setTemplate
(IExportTemplate template)
-
Constructor Details
-
ExportConfiguration
@Deprecated public ExportConfiguration(IPObjectTree tree, String query, String charset, List fields, IExportTemplate template, Map params) Deprecated. -
ExportConfiguration
@Deprecated public ExportConfiguration(IPObjectList workItems, String query, String charset, List fields, IExportTemplate template, Map params) Deprecated.
-
-
Method Details
-
setContextId
- Parameters:
contextId
-- Since:
- 3.5.1
-
getContextId
- Specified by:
getContextId
in interfaceIExportConfiguration
- Returns:
- The context where export was invoked.
- Since:
- 3.5.1
-
setModule
- Parameters:
module
-- Since:
- 3.5.2
-
getModule
Description copied from interface:IExportConfiguration
Returns the module in the context that the export was invoked for.- Specified by:
getModule
in interfaceIExportConfiguration
- Returns:
- module or
null
- Since:
- 3.5.2
-
getCharset
- Specified by:
getCharset
in interfaceIExportConfiguration
-
getExportFields
- Specified by:
getExportFields
in interfaceIExportConfiguration
- Returns:
- Fields to export.
- Since:
- 3.5.2
-
getFields
- Specified by:
getFields
in interfaceIExportConfiguration
- Returns:
- The list of field IDs.
-
getTemplate
- Specified by:
getTemplate
in interfaceIExportConfiguration
-
setTemplate
- Since:
- 3.17.1
-
getParameter
- Specified by:
getParameter
in interfaceIExportConfiguration
-
getWorkItemTree
Deprecated.- Specified by:
getWorkItemTree
in interfaceIExportConfiguration
- Returns:
- A tree of Work Items to export.
- See Also:
-
getWorkItems
Deprecated.Description copied from interface:IExportConfiguration
Returns Work Items in the first level of the tree. This is a convenient method for exporters that cannot export a tree. A single level tree is always passed to them so that this method only returns the list of Work Items to export.- Specified by:
getWorkItems
in interfaceIExportConfiguration
- Returns:
- The list of
IWorkItem
s, nevernull
. - See Also:
-
getQuery
Deprecated.- Specified by:
getQuery
in interfaceIExportConfiguration
- Returns:
- The query used.
-
TreeExportConfiguration