Class Mutation.MutationBuilder
java.lang.Object
com.parasoft.findings.jenkins.coverage.model.Mutation.MutationBuilder
- Enclosing class:
- Mutation
Builder to create new
Mutation
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
void
buildAndAddToModule
(ModuleNode root, edu.hm.hafner.util.TreeStringBuilder treeStringBuilder) Builds a new mutation and adds it to the root of the tree.setDescription
(String description) setIsDetected
(boolean isDetected) setKillingTest
(String killingTest) setLine
(int line) setMutatedClass
(String mutatedClass) setMutatedMethod
(String mutatedMethod) setMutatedMethodSignature
(String mutatedMethodSignature) setMutator
(String mutator) setSourceFile
(String sourceFile) setStatus
(MutationStatus status)
-
Constructor Details
-
MutationBuilder
public MutationBuilder()
-
-
Method Details
-
setIsDetected
-
setStatus
-
setLine
-
setLine
-
setMutator
-
setKillingTest
-
setDescription
-
setSourceFile
-
setMutatedClass
-
setMutatedMethod
-
setMutatedMethodSignature
@CanIgnoreReturnValue public Mutation.MutationBuilder setMutatedMethodSignature(String mutatedMethodSignature) -
buildAndAddToModule
public void buildAndAddToModule(ModuleNode root, edu.hm.hafner.util.TreeStringBuilder treeStringBuilder) Builds a new mutation and adds it to the root of the tree.- Parameters:
root
- the module root to add the mutations totreeStringBuilder
- the tree string builder to create the file names
-
build
-