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 String
getDisplayName()
Required for the report outputObject
getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
abstract MutationStats
getMutationStats()
List<MutationResult>
getParents()
MutationResult
getPreviousResult()
String
getSourceFileContent()
MutationStats
getStatsDelta()
String
getUrl()
boolean
isCoverageAltered()
boolean
isSourceLevel()
String
relativeUrl(MutationResult parent)
static String
xmlTransform(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
-