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 java.lang.Object implements net.anotheria.asg.data.Builder<Experiment>
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanactiveprotected java.lang.Stringdescriptionprotected intdistributionprotected java.lang.Stringnameprotected java.lang.Stringvariant1protected java.lang.Stringvariant10protected java.lang.Stringvariant2protected java.lang.Stringvariant3protected java.lang.Stringvariant4protected java.lang.Stringvariant5protected java.lang.Stringvariant6protected java.lang.Stringvariant7protected java.lang.Stringvariant8protected java.lang.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(java.lang.String aValue)Sets the value of the description attribute.ExperimentBuilderdistribution(int aValue)Sets the value of the distribution attribute.ExperimentBuildername(java.lang.String aValue)Sets the value of the name attribute.ExperimentBuildervariant1(java.lang.String aValue)Sets the value of the variant1 attribute.ExperimentBuildervariant10(java.lang.String aValue)Sets the value of the variant10 attribute.ExperimentBuildervariant2(java.lang.String aValue)Sets the value of the variant2 attribute.ExperimentBuildervariant3(java.lang.String aValue)Sets the value of the variant3 attribute.ExperimentBuildervariant4(java.lang.String aValue)Sets the value of the variant4 attribute.ExperimentBuildervariant5(java.lang.String aValue)Sets the value of the variant5 attribute.ExperimentBuildervariant6(java.lang.String aValue)Sets the value of the variant6 attribute.ExperimentBuildervariant7(java.lang.String aValue)Sets the value of the variant7 attribute.ExperimentBuildervariant8(java.lang.String aValue)Sets the value of the variant8 attribute.ExperimentBuildervariant9(java.lang.String aValue)Sets the value of the variant9 attribute.
-
-
-
Field Detail
-
name
protected java.lang.String name
-
active
protected boolean active
-
distribution
protected int distribution
-
description
protected java.lang.String description
-
variant1
protected java.lang.String variant1
-
variant2
protected java.lang.String variant2
-
variant3
protected java.lang.String variant3
-
variant4
protected java.lang.String variant4
-
variant5
protected java.lang.String variant5
-
variant6
protected java.lang.String variant6
-
variant7
protected java.lang.String variant7
-
variant8
protected java.lang.String variant8
-
variant9
protected java.lang.String variant9
-
variant10
protected java.lang.String variant10
-
-
Method Detail
-
name
public ExperimentBuilder name(java.lang.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(java.lang.String aValue)
Sets the value of the description attribute.
-
variant1
public ExperimentBuilder variant1(java.lang.String aValue)
Sets the value of the variant1 attribute.
-
variant2
public ExperimentBuilder variant2(java.lang.String aValue)
Sets the value of the variant2 attribute.
-
variant3
public ExperimentBuilder variant3(java.lang.String aValue)
Sets the value of the variant3 attribute.
-
variant4
public ExperimentBuilder variant4(java.lang.String aValue)
Sets the value of the variant4 attribute.
-
variant5
public ExperimentBuilder variant5(java.lang.String aValue)
Sets the value of the variant5 attribute.
-
variant6
public ExperimentBuilder variant6(java.lang.String aValue)
Sets the value of the variant6 attribute.
-
variant7
public ExperimentBuilder variant7(java.lang.String aValue)
Sets the value of the variant7 attribute.
-
variant8
public ExperimentBuilder variant8(java.lang.String aValue)
Sets the value of the variant8 attribute.
-
variant9
public ExperimentBuilder variant9(java.lang.String aValue)
Sets the value of the variant9 attribute.
-
variant10
public ExperimentBuilder variant10(java.lang.String aValue)
Sets the value of the variant10 attribute.
-
build
public Experiment build()
- Specified by:
buildin interfacenet.anotheria.asg.data.Builder<Experiment>
-
-