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
Base implementation of ImportInput
Implements most of the methods that support storing messages and properties
- Since:
- 4.0
-
Field Summary
Fields inherited from class com.ibm.debug.pdt.codecoverage.core.results.CCAbstractItem
TEMPPROP -
Constructor Summary
ConstructorsConstructorDescriptionCCAbstractImportInput(String name, String importPath, boolean validForImport) -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns 1 or more paths that can be used by an importer to search for source in addition to what is stored with the resultbooleanReturns true if valid for input.voidsetSourcePaths(String[] sourcePaths) 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 pathsvoidsetValidForInput(boolean isValid) 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.ICCBase
addEncodedMessage, addMessage, addMessage, getDecodedMessages, getDecodedMessages, getID, getMessages, getName, getProperties, getProperty, getProperty, isMessage, isProperty, setName, setProperty, updatePropertyMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.importers.ICCImportInput
dispose
-
Constructor Details
-
CCAbstractImportInput
-
-
Method Details
-
getImportPath
- Specified by:
getImportPathin interfaceICCImportInput- Returns:
- the import path initially used to find import data
-
isValidForImport
public boolean isValidForImport()Description copied from interface:ICCImportInputReturns 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:
isValidForImportin interfaceICCImportInput- Returns:
- true if valid for import
-
setValidForInput
public void setValidForInput(boolean isValid) -
setSourcePaths
Description copied from interface:ICCImportInputAdditional 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:
setSourcePathsin interfaceICCImportInput- Parameters:
sourcePaths- 1 or more source paths
-
getSourcePaths
Description copied from interface:ICCImportInputReturns 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:
getSourcePathsin interfaceICCImportInput- Returns:
- 1 or more source paths that will be used to search for source including path to internal source if available
-