Class Mutation.MutationBuilder
- java.lang.Object
-
- com.parasoft.findings.jenkins.coverage.model.Mutation.MutationBuilder
-
-
Constructor Summary
Constructors Constructor Description MutationBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mutation
build()
void
buildAndAddToModule(ModuleNode root, edu.hm.hafner.util.TreeStringBuilder treeStringBuilder)
Builds a new mutation and adds it to the root of the tree.Mutation.MutationBuilder
setDescription(String description)
Mutation.MutationBuilder
setIsDetected(boolean isDetected)
Mutation.MutationBuilder
setKillingTest(String killingTest)
Mutation.MutationBuilder
setLine(int line)
Mutation.MutationBuilder
setLine(String line)
Mutation.MutationBuilder
setMutatedClass(String mutatedClass)
Mutation.MutationBuilder
setMutatedMethod(String mutatedMethod)
Mutation.MutationBuilder
setMutatedMethodSignature(String mutatedMethodSignature)
Mutation.MutationBuilder
setMutator(String mutator)
Mutation.MutationBuilder
setSourceFile(String sourceFile)
Mutation.MutationBuilder
setStatus(MutationStatus status)
-
-
-
Method Detail
-
setIsDetected
@CanIgnoreReturnValue public Mutation.MutationBuilder setIsDetected(boolean isDetected)
-
setStatus
@CanIgnoreReturnValue public Mutation.MutationBuilder setStatus(MutationStatus status)
-
setLine
@CanIgnoreReturnValue public Mutation.MutationBuilder setLine(String line)
-
setLine
@CanIgnoreReturnValue public Mutation.MutationBuilder setLine(int line)
-
setMutator
@CanIgnoreReturnValue public Mutation.MutationBuilder setMutator(String mutator)
-
setKillingTest
@CanIgnoreReturnValue public Mutation.MutationBuilder setKillingTest(String killingTest)
-
setDescription
@CanIgnoreReturnValue public Mutation.MutationBuilder setDescription(String description)
-
setSourceFile
@CanIgnoreReturnValue public Mutation.MutationBuilder setSourceFile(String sourceFile)
-
setMutatedClass
@CanIgnoreReturnValue public Mutation.MutationBuilder setMutatedClass(String mutatedClass)
-
setMutatedMethod
@CanIgnoreReturnValue public Mutation.MutationBuilder setMutatedMethod(String mutatedMethod)
-
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
public Mutation build()
-
-