Interface ICCResultModifier
- All Known Implementing Classes:
CCAbstractResultModifier
public interface ICCResultModifier
Represents a code coverage result modifier
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddModifier(ICCModifier modifier) Adds a code coverage modifier to the result modifiervoiddispose()Disposes the cached data for the result modifiergetId()Retrieves the ID for the modifier.modify(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 case
-
Method Details
-
addModifier
Adds a code coverage modifier to the result modifier- Parameters:
modifier- the code coverage modifier- Throws:
CCModifierException- thrown when the modifier is not supported
-
modify
Modifies the specified code coverage result- 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
Modifies the specified test case- Parameters:
testcase- the test case to modify- Returns:
- the modified test case
- Throws:
CCModifierException- when there is a problem modifying the test case
-
modify
Modifies the specified file- Parameters:
file- the file to modify- Returns:
- the modified file
- Throws:
CCModifierException- when there is a problem modifying the file
-
modify
Modifies the specified module- Parameters:
module- the module to modify- Returns:
- the modified module
- Throws:
CCModifierException- when there is a problem modifying the module
-
modify
modifies the specified part- Parameters:
part- - the part to modify- Returns:
- the modified part
- Throws:
CCModifierException- when there is a problem modifying the part- Since:
- 9.0
-
dispose
void dispose()Disposes the cached data for the result modifier -
getId
String getId()Retrieves the ID for the modifier. Used in visible messages.
It is recommended to keep the ID under 10 characters.- Returns:
- the ID of the filter
-