Package de.rwth.swc.coffee4j.model
Class Combination.Builder
- java.lang.Object
-
- de.rwth.swc.coffee4j.model.Combination.Builder
-
- Enclosing class:
- Combination
public static final class Combination.Builder extends java.lang.ObjectRealization of the builder pattern for theCombinationclass. Entry point isCombination.combination().
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Combinationbuild()Builds the complete combination out of the parameter mappings.Combination.Buildervalue(Parameter parameter, Value value)Adds a mapping from a parameter to a value to this combination.
-
-
-
Method Detail
-
value
public Combination.Builder value(Parameter parameter, Value value)
Adds a mapping from a parameter to a value to this combination.- Parameters:
parameter- the parameter. Must not benullvalue- the value to which the parameter is mapped. Must not bennull- Returns:
- this
-
build
public Combination build()
Builds the complete combination out of the parameter mappings.- Returns:
- the constructed combination
-
-