Class CCAbstractImportInput

java.lang.Object
com.ibm.debug.pdt.codecoverage.core.results.CCAbstractItem
com.ibm.debug.pdt.codecoverage.core.results.importers.CCAbstractImportInput
All Implemented Interfaces:
ICCBase, ICCImportInput

public abstract class CCAbstractImportInput extends CCAbstractItem implements ICCImportInput
Base implementation of ImportInput Implements most of the methods that support storing messages and properties
Since:
4.0
  • Constructor Details

    • CCAbstractImportInput

      public CCAbstractImportInput(String name, String importPath, boolean validForImport)
  • Method Details

    • getImportPath

      public String getImportPath()
      Specified by:
      getImportPath in interface ICCImportInput
      Returns:
      the import path initially used to find import data
    • isValidForImport

      public boolean isValidForImport()
      Description copied from interface: ICCImportInput
      Returns true if valid for input. If returning false messages can be added to this object that indicates why it didn't find valid data.
      Specified by:
      isValidForImport in interface ICCImportInput
      Returns:
      true if valid for import
    • setValidForInput

      public void setValidForInput(boolean isValid)
    • setSourcePaths

      public void setSourcePaths(String[] sourcePaths)
      Description copied from interface: ICCImportInput
      Additional source paths (in addition to what can be found with the results) can be set here and will be used by importers that support external source paths
      Specified by:
      setSourcePaths in interface ICCImportInput
      Parameters:
      sourcePaths - 1 or more source paths
    • getSourcePaths

      public String[] getSourcePaths()
      Description copied from interface: ICCImportInput
      Returns 1 or more paths that can be used by an importer to search for source in addition to what is stored with the result
      Specified by:
      getSourcePaths in interface ICCImportInput
      Returns:
      1 or more source paths that will be used to search for source including path to internal source if available