Class ExperimentBuilder
- java.lang.Object
-
- net.anotheria.anosite.gen.asexperiment.data.ExperimentBuilder
-
- All Implemented Interfaces:
net.anotheria.asg.data.Builder<Experiment>
public class ExperimentBuilder extends Object implements net.anotheria.asg.data.Builder<Experiment>
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanactiveprotected Stringdescriptionprotected intdistributionprotected Stringnameprotected Stringvariant1protected Stringvariant10protected Stringvariant2protected Stringvariant3protected Stringvariant4protected Stringvariant5protected Stringvariant6protected Stringvariant7protected Stringvariant8protected Stringvariant9
-
Constructor Summary
Constructors Constructor Description ExperimentBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExperimentBuilderactive(boolean aValue)Sets the value of the active attribute.Experimentbuild()ExperimentBuilderdescription(String aValue)Sets the value of the description attribute.ExperimentBuilderdistribution(int aValue)Sets the value of the distribution attribute.ExperimentBuildername(String aValue)Sets the value of the name attribute.ExperimentBuildervariant1(String aValue)Sets the value of the variant1 attribute.ExperimentBuildervariant10(String aValue)Sets the value of the variant10 attribute.ExperimentBuildervariant2(String aValue)Sets the value of the variant2 attribute.ExperimentBuildervariant3(String aValue)Sets the value of the variant3 attribute.ExperimentBuildervariant4(String aValue)Sets the value of the variant4 attribute.ExperimentBuildervariant5(String aValue)Sets the value of the variant5 attribute.ExperimentBuildervariant6(String aValue)Sets the value of the variant6 attribute.ExperimentBuildervariant7(String aValue)Sets the value of the variant7 attribute.ExperimentBuildervariant8(String aValue)Sets the value of the variant8 attribute.ExperimentBuildervariant9(String aValue)Sets the value of the variant9 attribute.
-
-
-
Field Detail
-
name
protected String name
-
active
protected boolean active
-
distribution
protected int distribution
-
description
protected String description
-
variant1
protected String variant1
-
variant2
protected String variant2
-
variant3
protected String variant3
-
variant4
protected String variant4
-
variant5
protected String variant5
-
variant6
protected String variant6
-
variant7
protected String variant7
-
variant8
protected String variant8
-
variant9
protected String variant9
-
variant10
protected String variant10
-
-
Method Detail
-
name
public ExperimentBuilder name(String aValue)
Sets the value of the name attribute.
-
active
public ExperimentBuilder active(boolean aValue)
Sets the value of the active attribute.
-
distribution
public ExperimentBuilder distribution(int aValue)
Sets the value of the distribution attribute.
-
description
public ExperimentBuilder description(String aValue)
Sets the value of the description attribute.
-
variant1
public ExperimentBuilder variant1(String aValue)
Sets the value of the variant1 attribute.
-
variant2
public ExperimentBuilder variant2(String aValue)
Sets the value of the variant2 attribute.
-
variant3
public ExperimentBuilder variant3(String aValue)
Sets the value of the variant3 attribute.
-
variant4
public ExperimentBuilder variant4(String aValue)
Sets the value of the variant4 attribute.
-
variant5
public ExperimentBuilder variant5(String aValue)
Sets the value of the variant5 attribute.
-
variant6
public ExperimentBuilder variant6(String aValue)
Sets the value of the variant6 attribute.
-
variant7
public ExperimentBuilder variant7(String aValue)
Sets the value of the variant7 attribute.
-
variant8
public ExperimentBuilder variant8(String aValue)
Sets the value of the variant8 attribute.
-
variant9
public ExperimentBuilder variant9(String aValue)
Sets the value of the variant9 attribute.
-
variant10
public ExperimentBuilder variant10(String aValue)
Sets the value of the variant10 attribute.
-
build
public Experiment build()
- Specified by:
buildin interfacenet.anotheria.asg.data.Builder<Experiment>
-
-