@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","HtmlGeneratorConfiguration"}) @Immutable @CheckReturnValue public final class ImmutableHtmlGeneratorConfiguration extends HtmlGeneratorConfiguration
HtmlGeneratorConfiguration.
Use the builder to create immutable instances:
ImmutableHtmlGeneratorConfiguration.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableHtmlGeneratorConfiguration.Builder
Builds instances of type
ImmutableHtmlGeneratorConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableHtmlGeneratorConfiguration.Builder |
builder()
Creates a builder for
ImmutableHtmlGeneratorConfiguration. |
static ImmutableHtmlGeneratorConfiguration |
copyOf(HtmlGeneratorConfiguration instance)
Creates an immutable copy of a
HtmlGeneratorConfiguration value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableHtmlGeneratorConfiguration that have equal attribute values. |
int |
getAutoRefreshInterval() |
String |
getCustomRunnerConfiguration() |
ReporterType |
getReporterType() |
String |
getRunnerTemplate() |
ScriptResolver |
getScriptResolver() |
String |
getSourceEncoding() |
SpecRunnerTemplate |
getSpecRunnerTemplate() |
int |
hashCode()
Computes a hash code from attributes:
sourceEncoding, reporterType, runnerTemplate, specRunnerTemplate, scriptResolver, customRunnerConfiguration, autoRefreshInterval. |
String |
toString()
Prints the immutable value
HtmlGeneratorConfiguration with attribute values. |
ImmutableHtmlGeneratorConfiguration |
withAutoRefreshInterval(int value)
Copy the current immutable object by setting a value for the
autoRefreshInterval attribute. |
ImmutableHtmlGeneratorConfiguration |
withCustomRunnerConfiguration(String value)
Copy the current immutable object by setting a value for the
customRunnerConfiguration attribute. |
ImmutableHtmlGeneratorConfiguration |
withReporterType(ReporterType value)
Copy the current immutable object by setting a value for the
reporterType attribute. |
ImmutableHtmlGeneratorConfiguration |
withRunnerTemplate(String value)
Copy the current immutable object by setting a value for the
runnerTemplate attribute. |
ImmutableHtmlGeneratorConfiguration |
withScriptResolver(ScriptResolver value)
Copy the current immutable object by setting a value for the
scriptResolver attribute. |
ImmutableHtmlGeneratorConfiguration |
withSourceEncoding(String value)
Copy the current immutable object by setting a value for the
sourceEncoding attribute. |
ImmutableHtmlGeneratorConfiguration |
withSpecRunnerTemplate(SpecRunnerTemplate value)
Copy the current immutable object by setting a value for the
specRunnerTemplate attribute. |
isAutoRefreshpublic String getSourceEncoding()
getSourceEncoding in class HtmlGeneratorConfigurationsourceEncoding attributepublic ReporterType getReporterType()
getReporterType in class HtmlGeneratorConfigurationreporterType attributepublic String getRunnerTemplate()
getRunnerTemplate in class HtmlGeneratorConfigurationrunnerTemplate attributepublic SpecRunnerTemplate getSpecRunnerTemplate()
getSpecRunnerTemplate in class HtmlGeneratorConfigurationspecRunnerTemplate attributepublic ScriptResolver getScriptResolver()
getScriptResolver in class HtmlGeneratorConfigurationscriptResolver attributepublic String getCustomRunnerConfiguration()
getCustomRunnerConfiguration in class HtmlGeneratorConfigurationcustomRunnerConfiguration attributepublic int getAutoRefreshInterval()
getAutoRefreshInterval in class HtmlGeneratorConfigurationautoRefreshInterval attributepublic final ImmutableHtmlGeneratorConfiguration withSourceEncoding(String value)
sourceEncoding attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for sourceEncodingthis objectpublic final ImmutableHtmlGeneratorConfiguration withReporterType(ReporterType value)
reporterType attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for reporterTypethis objectpublic final ImmutableHtmlGeneratorConfiguration withRunnerTemplate(String value)
runnerTemplate attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for runnerTemplatethis objectpublic final ImmutableHtmlGeneratorConfiguration withSpecRunnerTemplate(SpecRunnerTemplate value)
specRunnerTemplate attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for specRunnerTemplatethis objectpublic final ImmutableHtmlGeneratorConfiguration withScriptResolver(ScriptResolver value)
scriptResolver attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for scriptResolverthis objectpublic final ImmutableHtmlGeneratorConfiguration withCustomRunnerConfiguration(String value)
customRunnerConfiguration attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for customRunnerConfigurationthis objectpublic final ImmutableHtmlGeneratorConfiguration withAutoRefreshInterval(int value)
autoRefreshInterval attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for autoRefreshIntervalthis objectpublic boolean equals(@Nullable Object another)
ImmutableHtmlGeneratorConfiguration that have equal attribute values.public int hashCode()
sourceEncoding, reporterType, runnerTemplate, specRunnerTemplate, scriptResolver, customRunnerConfiguration, autoRefreshInterval.public String toString()
HtmlGeneratorConfiguration with attribute values.public static ImmutableHtmlGeneratorConfiguration copyOf(HtmlGeneratorConfiguration instance)
HtmlGeneratorConfiguration value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableHtmlGeneratorConfiguration.Builder builder()
ImmutableHtmlGeneratorConfiguration.Copyright © 2010–2018 Justin Searls. All rights reserved.