java.lang.Object
com.ibm.debug.pdt.codecoverage.core.results.exporters.CCExporterFactory

public class CCExporterFactory extends Object
Since:
3.1
  • Method Details

    • getInstance

      public static CCExporterFactory getInstance()
    • getExporter

      public ICCExporter getExporter(String exportType)
      Returns the exporter that supports the exportType
      Parameters:
      exportType - exporter type
      Returns:
      ICCExporter
    • getExporterTypes

      public String[] getExporterTypes()
      Returns a array of the available exporters
      Returns:
      zero or more registered exporters
    • registerExporter

      public boolean registerExporter(ICCExporter exporter, String exportType)
      Register an exporter by export type The export type string will be used later to select this exporter
      Parameters:
      exporter - that should be registered. Must implement ICCExporter
      exportType - is a string that can be used to select this exporter
      Returns:
      true if exporter successfully registered
      Since:
      5.0
    • deregisterExporter

      public void deregisterExporter(String exportType)
      Removes an exporter If the exporter is not registered then no change is made
      Parameters:
      exportType - the ID or type of the exporter to remove
      Since:
      5.0
    • resetRegisteredExporters

      public void resetRegisteredExporters()
      Restore registered exporters to the default
      Since:
      7.0
    • clearRegisteredExporters

      public void clearRegisteredExporters()
      Clears the registered exporters. Before using the exporter framework at least 1 exporter should be registered
      Since:
      7.0