Class CCAbstractExporter
java.lang.Object
com.ibm.debug.pdt.codecoverage.core.results.CCAbstractItem
com.ibm.debug.pdt.codecoverage.core.results.exporters.CCAbstractExporter
- All Implemented Interfaces:
ICCExporter,ICCBase
- Since:
- 3.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringDeprecated.static final Stringstatic final StringDeprecated.usegetBuildID()static final StringFields inherited from class com.ibm.debug.pdt.codecoverage.core.results.CCAbstractItem
TEMPPROP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexportResults(ICCResult[] results, ICCExporterSettings settings, String destination, boolean logging) Export the contents of the passedICCResultor results The implementor can decide if passing 2 or more has special meaning.Methods inherited from class com.ibm.debug.pdt.codecoverage.core.results.CCAbstractItem
addEncodedMessage, addMessage, addMessage, getDecodedMessages, getDecodedMessages, getID, getMessages, getName, getProperties, getProperty, getProperty, isMessage, isProperty, setName, setProperty, updatePropertyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.exporters.ICCExporter
exportResult, getSettings, getType
-
Field Details
-
BUILDID_ATTR
- Since:
- 8.0
- See Also:
-
APIVERSION_ATTR
- Since:
- 8.0
- See Also:
-
BUILDID_VALUE
Deprecated.usegetBuildID()- Since:
- 8.0
- See Also:
-
APIVERSION_VALUE
Deprecated.usegetAPIVersion()- Since:
- 8.0
- See Also:
-
FILE_CREATE_DATE
- Since:
- 9.0
- See Also:
-
-
Constructor Details
-
CCAbstractExporter
-
-
Method Details
-
exportResults
public ICCExporterInfo exportResults(ICCResult[] results, ICCExporterSettings settings, String destination, boolean logging) throws CCExportException Description copied from interface:ICCExporterExport the contents of the passedICCResultor results The implementor can decide if passing 2 or more has special meaning. For example it might mean that if 2 results are passed then they are compared. The default implementation will callICCExporter.exportResult(ICCResult, ICCExporterSettings, String, boolean)for each result passed- Specified by:
exportResultsin interfaceICCExporter- Parameters:
results- 1 or more results as an array to be exportedsettings- Optional settings can be passed to the exporter by creating a class that extendsICCExporterSettingsdestination- path or file to be produced. If more than 1 result is passed then the file name may be modified to allow for multiple destination fileslogging- optional enable/disable- Returns:
ICCExporterInfothat contains information about the export- Throws:
CCExportException- exception thrown during export. The exception may contain more detail
-
getAPIVersion()