All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ml.comet.experiment.ExperimentBuilder Maven / Gradle / Ivy

There is a newer version: 1.1.14
Show newest version
package ml.comet.experiment;

import lombok.experimental.UtilityClass;
import ml.comet.experiment.builder.ApiExperimentBuilder;
import ml.comet.experiment.builder.OnlineExperimentBuilder;
import ml.comet.experiment.impl.ApiExperimentImpl;
import ml.comet.experiment.impl.OnlineExperimentImpl;

/**
 * The factory of builders to be used for creation of different {@link Experiment} implementations.
 */
@UtilityClass
public class ExperimentBuilder {

    /**
     * Returns instance of the {@link OnlineExperimentBuilder} which can be used to
     * configure and create fully initialized instance of the {@link OnlineExperiment}.
     *
     * 

The configured instance of {@link OnlineExperiment} can be created as following: *

     *     OnlineExperiment experiment = ExperimentBuilder
     *                                      .OnlineExperiment()
     *                                      .build();
     * 
* * @return the instance of the {@link OnlineExperimentBuilder}. */ @SuppressWarnings({"MethodName"}) public static OnlineExperimentBuilder OnlineExperiment() { return OnlineExperimentImpl.builder(); } /** * The factory to create instance of the {@link ApiExperimentBuilder} which can be used * to configure and create fully initialized instance of the {@link ApiExperiment}. * * @return the initialized instance of the {@link ApiExperimentBuilder}. */ @SuppressWarnings({"MethodName"}) public static ApiExperimentBuilder ApiExperiment() { return ApiExperimentImpl.builder(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy