@NotThreadSafe public static final class ImmutableHtmlGeneratorConfiguration.Builder extends Object
ImmutableHtmlGeneratorConfiguration.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
public final ImmutableHtmlGeneratorConfiguration.Builder from(HtmlGeneratorConfiguration instance)
HtmlGeneratorConfiguration instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableHtmlGeneratorConfiguration.Builder sourceEncoding(String sourceEncoding)
sourceEncoding attribute.sourceEncoding - The value for sourceEncodingthis builder for use in a chained invocationpublic final ImmutableHtmlGeneratorConfiguration.Builder reporterType(ReporterType reporterType)
reporterType attribute.reporterType - The value for reporterTypethis builder for use in a chained invocationpublic final ImmutableHtmlGeneratorConfiguration.Builder runnerTemplate(String runnerTemplate)
runnerTemplate attribute.runnerTemplate - The value for runnerTemplatethis builder for use in a chained invocationpublic final ImmutableHtmlGeneratorConfiguration.Builder specRunnerTemplate(SpecRunnerTemplate specRunnerTemplate)
specRunnerTemplate attribute.specRunnerTemplate - The value for specRunnerTemplatethis builder for use in a chained invocationpublic final ImmutableHtmlGeneratorConfiguration.Builder scriptResolver(ScriptResolver scriptResolver)
scriptResolver attribute.scriptResolver - The value for scriptResolverthis builder for use in a chained invocationpublic final ImmutableHtmlGeneratorConfiguration.Builder customRunnerConfiguration(String customRunnerConfiguration)
customRunnerConfiguration attribute.customRunnerConfiguration - The value for customRunnerConfigurationthis builder for use in a chained invocationpublic final ImmutableHtmlGeneratorConfiguration.Builder autoRefreshInterval(int autoRefreshInterval)
autoRefreshInterval attribute.autoRefreshInterval - The value for autoRefreshIntervalthis builder for use in a chained invocationpublic ImmutableHtmlGeneratorConfiguration build()
ImmutableHtmlGeneratorConfiguration.IllegalStateException - if any required attributes are missingCopyright © 2010–2018 Justin Searls. All rights reserved.