Class CCAbstractResultModifier
java.lang.Object
com.ibm.debug.pdt.codecoverage.core.results.CCAbstractResultModifier
- All Implemented Interfaces:
ICCResultModifier
Base implementation of a result modifier
Extend this class and override the modify method(s)
See
CCResultsModifierFactory for implemented filters- Since:
- 9.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModifier(ICCModifier modifier) Adds a code coverage modifier to the result modifiervoiddispose()Disposes the cached data for the result modifiermodify(ICCImportFile file) Modifies the specified filemodify(ICCImportModule module) Modifies the specified modulemodify(ICCImportPart part) modifies the specified partmodify(ICCImportResult result) Modifies the specified code coverage resultmodify(ICCImportTestcase testcase) Modifies the specified test caseMethods 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.ICCResultModifier
getId
-
Constructor Details
-
CCAbstractResultModifier
public CCAbstractResultModifier()
-
-
Method Details
-
addModifier
Description copied from interface:ICCResultModifierAdds a code coverage modifier to the result modifier- Specified by:
addModifierin interfaceICCResultModifier- Parameters:
modifier- the code coverage modifier- Throws:
CCModifierException- thrown when the modifier is not supported
-
modify
Description copied from interface:ICCResultModifierModifies the specified code coverage result- Specified by:
modifyin interfaceICCResultModifier- Parameters:
result- the result to modify- Returns:
- the result after it has been modified
- Throws:
CCModifierException- when there is a problem modifying the result
-
modify
Description copied from interface:ICCResultModifierModifies the specified test case- Specified by:
modifyin interfaceICCResultModifier- Parameters:
testcase- the test case to modify- Returns:
- the modified test case
- Throws:
CCModifierException- when there is a problem modifying the test case
-
modify
Description copied from interface:ICCResultModifierModifies the specified file- Specified by:
modifyin interfaceICCResultModifier- Parameters:
file- the file to modify- Returns:
- the modified file
- Throws:
CCModifierException- when there is a problem modifying the file
-
modify
Description copied from interface:ICCResultModifierModifies the specified module- Specified by:
modifyin interfaceICCResultModifier- Parameters:
module- the module to modify- Returns:
- the modified module
- Throws:
CCModifierException- when there is a problem modifying the module
-
modify
Description copied from interface:ICCResultModifiermodifies the specified part- Specified by:
modifyin interfaceICCResultModifier- Parameters:
part- - the part to modify- Returns:
- the modified part
- Throws:
CCModifierException- when there is a problem modifying the part
-
dispose
public void dispose()Description copied from interface:ICCResultModifierDisposes the cached data for the result modifier- Specified by:
disposein interfaceICCResultModifier
-