Class ExperimentConfig

    • Method Detail

      • experimentName

        public final String experimentName()

        The name of an existing experiment to associate with the trial component.

        Returns:
        The name of an existing experiment to associate with the trial component.
      • trialName

        public final String trialName()

        The name of an existing trial to associate the trial component with. If not specified, a new trial is created.

        Returns:
        The name of an existing trial to associate the trial component with. If not specified, a new trial is created.
      • trialComponentDisplayName

        public final String trialComponentDisplayName()

        The display name for the trial component. If this key isn't specified, the display name is the trial component name.

        Returns:
        The display name for the trial component. If this key isn't specified, the display name is the trial component name.
      • runName

        public final String runName()

        The name of the experiment run to associate with the trial component.

        Returns:
        The name of the experiment run to associate with the trial component.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)