Class ImmutableHtmlGeneratorConfiguration


  • @ParametersAreNonnullByDefault
    @Generated("org.immutables.processor.ProxyProcessor")
    @Immutable
    @CheckReturnValue
    public final class ImmutableHtmlGeneratorConfiguration
    extends HtmlGeneratorConfiguration
    Immutable implementation of HtmlGeneratorConfiguration.

    Use the builder to create immutable instances: ImmutableHtmlGeneratorConfiguration.builder().

    • Method Detail

      • withSourceEncoding

        public final ImmutableHtmlGeneratorConfiguration withSourceEncoding​(String value)
        Copy the current immutable object by setting a value for the sourceEncoding attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for sourceEncoding
        Returns:
        A modified copy of the this object
      • withReporterType

        public final ImmutableHtmlGeneratorConfiguration withReporterType​(ReporterType value)
        Copy the current immutable object by setting a value for the reporterType attribute. A value equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for reporterType
        Returns:
        A modified copy of the this object
      • withRunnerTemplate

        public final ImmutableHtmlGeneratorConfiguration withRunnerTemplate​(String value)
        Copy the current immutable object by setting a value for the runnerTemplate attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for runnerTemplate
        Returns:
        A modified copy of the this object
      • withSpecRunnerTemplate

        public final ImmutableHtmlGeneratorConfiguration withSpecRunnerTemplate​(SpecRunnerTemplate value)
        Copy the current immutable object by setting a value for the specRunnerTemplate attribute. A value equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for specRunnerTemplate
        Returns:
        A modified copy of the this object
      • withScriptResolver

        public final ImmutableHtmlGeneratorConfiguration withScriptResolver​(ScriptResolver value)
        Copy the current immutable object by setting a value for the scriptResolver attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for scriptResolver
        Returns:
        A modified copy of the this object
      • withCustomRunnerConfiguration

        public final ImmutableHtmlGeneratorConfiguration withCustomRunnerConfiguration​(String value)
        Copy the current immutable object by setting a value for the customRunnerConfiguration attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for customRunnerConfiguration
        Returns:
        A modified copy of the this object
      • withAutoRefreshInterval

        public final ImmutableHtmlGeneratorConfiguration withAutoRefreshInterval​(int value)
        Copy the current immutable object by setting a value for the autoRefreshInterval attribute. A value equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for autoRefreshInterval
        Returns:
        A modified copy of the this object
      • equals

        public boolean equals​(@Nullable
                              Object another)
        This instance is equal to all instances of ImmutableHtmlGeneratorConfiguration that have equal attribute values.
        Overrides:
        equals in class Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: sourceEncoding, reporterType, runnerTemplate, specRunnerTemplate, scriptResolver, customRunnerConfiguration, autoRefreshInterval.
        Overrides:
        hashCode in class Object
        Returns:
        hashCode value
      • toString

        public String toString()
        Prints the immutable value HtmlGeneratorConfiguration with attribute values.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the value