public static final class InheritanceCompatibilityChecker.Builder extends Object
Pedigree
and at least one ModeOfInheritance
is needed!Constructor and Description |
---|
Builder()
default constructor.
|
Modifier and Type | Method and Description |
---|---|
InheritanceCompatibilityChecker.Builder |
addMode(ModeOfInheritance inheritanceMode)
Add a
ModeOfInheritance to the builder. |
InheritanceCompatibilityChecker.Builder |
addModes(Collection<ModeOfInheritance> inheritanceModes)
Add a collection of
ModeOfInheritance to the builder. |
InheritanceCompatibilityChecker |
build()
Build the
InheritanceCompatibilityChecker . |
InheritanceCompatibilityChecker.Builder |
pedigree(Pedigree pedigree)
Set the pedigree for the builder
|
public InheritanceCompatibilityChecker.Builder addMode(ModeOfInheritance inheritanceMode)
ModeOfInheritance
to the builder.inheritanceMode
- add this ModeOfInheritance
to the builder.public InheritanceCompatibilityChecker.Builder addModes(Collection<ModeOfInheritance> inheritanceModes)
ModeOfInheritance
to the builder.inheritanceModes
- The collection you want to addpublic InheritanceCompatibilityChecker.Builder pedigree(Pedigree pedigree)
pedigree
- The pedigree which you want to use in your checkerpublic InheritanceCompatibilityChecker build()
InheritanceCompatibilityChecker
.InheritanceCompatibilityChecker
with your given pedigree and modes of inheritances.Copyright © 2016. All rights reserved.