Class MutationResult<T extends MutationResult>
java.lang.Object
org.jenkinsci.plugins.pitmutation.targets.MutationResult<T>
- All Implemented Interfaces:
Comparable<T>
- Direct Known Subclasses:
ModuleResult,MutatedClass,MutatedLine,MutatedPackage,ProjectMutations
public abstract class MutationResult<T extends MutationResult> extends Object implements Comparable<T>
- Author:
- Ed Kimber
-
Constructor Summary
Constructors Constructor Description MutationResult(String name, MutationResult parent) -
Method Summary
Modifier and Type Method Description abstract Map<String,? extends MutationResult<?>>getChildMap()Collection<? extends MutationResult>getChildren()MutationResult<?>getChildResult(String name)abstract StringgetDisplayName()Required for the report outputObjectgetDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)abstract MutationStatsgetMutationStats()List<MutationResult>getParents()MutationResultgetPreviousResult()StringgetSourceFileContent()MutationStatsgetStatsDelta()StringgetUrl()booleanisCoverageAltered()booleanisSourceLevel()StringrelativeUrl(MutationResult parent)static StringxmlTransform(String name)
-
Constructor Details
-
Method Details
-
getParents
-
getPreviousResult
-
getDisplayName
Required for the report output- Returns:
- the display name
-
getMutationStats
-
getChildMap
-
getChildResult
-
isSourceLevel
public boolean isSourceLevel() -
getSourceFileContent
-
isCoverageAltered
public boolean isCoverageAltered() -
getChildren
-
getStatsDelta
-
getDynamic
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException- Throws:
IOException
-
getUrl
-
xmlTransform
-
relativeUrl
-