Class 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 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
    • Constructor Detail

      • ExperimentBuilder

        public ExperimentBuilder()
    • 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:
        build in interface net.anotheria.asg.data.Builder<Experiment>