@Test(expected = IllegalArgumentException.class) public void testExperimentPartialPersonalizationInfo() { NewExperiment.withID(Experiment.ID.newInstance()) .withAppName(Application.Name.valueOf("app")) .withLabel(Experiment.Label.valueOf("label")) .withIsPersonalizationEnabled(true) .withSamplingPercent(0.5) .withStartTime(new Date()) .withEndTime(new Date()) .withDescription("test").build(); }
public static NewExperiment.Builder withID(Experiment.ID id) { return new NewExperiment.Builder(id); }
NewExperiment implements ExperimentBase { public static NewExperiment.Builder withID(Experiment.ID id) { return new NewExperiment.Builder(id); } }
NewExperiment implements ExperimentBase { public static NewExperiment.Builder withID(Experiment.ID id) { return new NewExperiment.Builder(id); } NewExperiment(Experiment.ID id);  NewExperiment(); }
NewExperiment implements ExperimentBase { public static NewExperiment.Builder withID(Experiment.ID id) { return new NewExperiment.Builder(id); } NewExperiment(Experiment.ID id);  NewExperiment(); Experiment.ID getId(); void setId(Experiment.ID id); void setLabel(Experiment.Label label); void setStartTime(Date startTime); void setEndTime(Date endTime); void setSamplingPercent(Double samplingPercent); void setDescription(String description); void setHypothesisIsCorrect(String hypothesisIsCorrect); void setResults(String results); void setRule(String rule); void setIsPersonalizationEnabled(Boolean isPersonalizationEnabled); void setModelName(String modelName); void setModelVersion(String modelVersion); void setIsRapidExperiment(Boolean isRapidExperiment); void setUserCap(Integer userCap); String getSourceURL(); void setSourceURL(String sourceURL); String getExperimentType(); void setExperimentType(String experimentType); static NewExperiment.Builder withID(Experiment.ID id); @Override @JsonIgnore Experiment.ID getID(); Boolean getIsRapidExperiment(); Integer getUserCap(); @Override Boolean getIsPersonalizationEnabled(); String getModelName(); String getModelVersion(); @Override String getDescription(); String getHypothesisIsCorrect(); String getResults(); @Override String getRule(); @Override Experiment.State getState(); Double getSamplingPercent(); @Override Date getStartTime(); @Override Date getEndTime(); @Override Experiment.Label getLabel(); @Override Application.Name getApplicationName(); void setApplicationName(Application.Name value); String getCreatorID(); void setCreatorID(String value); @Override Set<String> getTags(); void setTags(Set<String> tags); @Override String toString(); }
NewExperiment implements ExperimentBase { public static NewExperiment.Builder withID(Experiment.ID id) { return new NewExperiment.Builder(id); } NewExperiment(Experiment.ID id);  NewExperiment(); Experiment.ID getId(); void setId(Experiment.ID id); void setLabel(Experiment.Label label); void setStartTime(Date startTime); void setEndTime(Date endTime); void setSamplingPercent(Double samplingPercent); void setDescription(String description); void setHypothesisIsCorrect(String hypothesisIsCorrect); void setResults(String results); void setRule(String rule); void setIsPersonalizationEnabled(Boolean isPersonalizationEnabled); void setModelName(String modelName); void setModelVersion(String modelVersion); void setIsRapidExperiment(Boolean isRapidExperiment); void setUserCap(Integer userCap); String getSourceURL(); void setSourceURL(String sourceURL); String getExperimentType(); void setExperimentType(String experimentType); static NewExperiment.Builder withID(Experiment.ID id); @Override @JsonIgnore Experiment.ID getID(); Boolean getIsRapidExperiment(); Integer getUserCap(); @Override Boolean getIsPersonalizationEnabled(); String getModelName(); String getModelVersion(); @Override String getDescription(); String getHypothesisIsCorrect(); String getResults(); @Override String getRule(); @Override Experiment.State getState(); Double getSamplingPercent(); @Override Date getStartTime(); @Override Date getEndTime(); @Override Experiment.Label getLabel(); @Override Application.Name getApplicationName(); void setApplicationName(Application.Name value); String getCreatorID(); void setCreatorID(String value); @Override Set<String> getTags(); void setTags(Set<String> tags); @Override String toString();  }