@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","JasmineConfiguration"}) @Immutable @CheckReturnValue public final class ImmutableJasmineConfiguration extends JasmineConfiguration
JasmineConfiguration.
Use the builder to create immutable instances:
ImmutableJasmineConfiguration.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableJasmineConfiguration.Builder
Builds instances of type
ImmutableJasmineConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableJasmineConfiguration.Builder |
builder()
Creates a builder for
ImmutableJasmineConfiguration. |
static ImmutableJasmineConfiguration |
copyOf(JasmineConfiguration instance)
Creates an immutable copy of a
JasmineConfiguration value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableJasmineConfiguration that have equal attribute values. |
int |
getAutoRefreshInterval() |
File |
getBasedir() |
List<Context> |
getContexts() |
Optional<File> |
getCustomRunnerConfiguration() |
Optional<File> |
getCustomRunnerTemplate() |
List<FileSystemReporter> |
getFileSystemReporters() |
File |
getJasmineTargetDir() |
List<String> |
getPreloadSources() |
ClassLoader |
getProjectClassLoader() |
List<Reporter> |
getReporters() |
ReporterType |
getReporterType() |
String |
getSourceEncoding() |
ScriptSearch |
getSources() |
String |
getSpecDirectoryName() |
String |
getSpecRunnerHtmlFileName() |
SpecRunnerTemplate |
getSpecRunnerTemplate() |
ScriptSearch |
getSpecs() |
String |
getSrcDirectoryName() |
int |
hashCode()
Computes a hash code from attributes:
basedir, jasmineTargetDir, srcDirectoryName, specDirectoryName, sources, specs, contexts, preloadSources, sourceEncoding, specRunnerTemplate, customRunnerTemplate, customRunnerConfiguration, specRunnerHtmlFileName, reporterType, reporters, fileSystemReporters, autoRefreshInterval, projectClassLoader. |
String |
toString()
Prints the immutable value
JasmineConfiguration with attribute values. |
ImmutableJasmineConfiguration |
withAutoRefreshInterval(int value)
Copy the current immutable object by setting a value for the
autoRefreshInterval attribute. |
ImmutableJasmineConfiguration |
withBasedir(File value)
Copy the current immutable object by setting a value for the
basedir attribute. |
ImmutableJasmineConfiguration |
withContexts(Context... elements)
Copy the current immutable object with elements that replace the content of
contexts. |
ImmutableJasmineConfiguration |
withContexts(Iterable<? extends Context> elements)
Copy the current immutable object with elements that replace the content of
contexts. |
ImmutableJasmineConfiguration |
withCustomRunnerConfiguration(File value)
Copy the current immutable object by setting a present value for the optional
customRunnerConfiguration attribute. |
ImmutableJasmineConfiguration |
withCustomRunnerConfiguration(Optional<? extends File> optional)
Copy the current immutable object by setting an optional value for the
customRunnerConfiguration attribute. |
ImmutableJasmineConfiguration |
withCustomRunnerTemplate(File value)
Copy the current immutable object by setting a present value for the optional
customRunnerTemplate attribute. |
ImmutableJasmineConfiguration |
withCustomRunnerTemplate(Optional<? extends File> optional)
Copy the current immutable object by setting an optional value for the
customRunnerTemplate attribute. |
ImmutableJasmineConfiguration |
withFileSystemReporters(FileSystemReporter... elements)
Copy the current immutable object with elements that replace the content of
fileSystemReporters. |
ImmutableJasmineConfiguration |
withFileSystemReporters(Iterable<? extends FileSystemReporter> elements)
Copy the current immutable object with elements that replace the content of
fileSystemReporters. |
ImmutableJasmineConfiguration |
withJasmineTargetDir(File value)
Copy the current immutable object by setting a value for the
jasmineTargetDir attribute. |
ImmutableJasmineConfiguration |
withPreloadSources(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
preloadSources. |
ImmutableJasmineConfiguration |
withPreloadSources(String... elements)
Copy the current immutable object with elements that replace the content of
preloadSources. |
ImmutableJasmineConfiguration |
withProjectClassLoader(ClassLoader value)
Copy the current immutable object by setting a value for the
projectClassLoader attribute. |
ImmutableJasmineConfiguration |
withReporters(Iterable<? extends Reporter> elements)
Copy the current immutable object with elements that replace the content of
reporters. |
ImmutableJasmineConfiguration |
withReporters(Reporter... elements)
Copy the current immutable object with elements that replace the content of
reporters. |
ImmutableJasmineConfiguration |
withReporterType(ReporterType value)
Copy the current immutable object by setting a value for the
reporterType attribute. |
ImmutableJasmineConfiguration |
withSourceEncoding(String value)
Copy the current immutable object by setting a value for the
sourceEncoding attribute. |
ImmutableJasmineConfiguration |
withSources(ScriptSearch value)
Copy the current immutable object by setting a value for the
sources attribute. |
ImmutableJasmineConfiguration |
withSpecDirectoryName(String value)
Copy the current immutable object by setting a value for the
specDirectoryName attribute. |
ImmutableJasmineConfiguration |
withSpecRunnerHtmlFileName(String value)
Copy the current immutable object by setting a value for the
specRunnerHtmlFileName attribute. |
ImmutableJasmineConfiguration |
withSpecRunnerTemplate(SpecRunnerTemplate value)
Copy the current immutable object by setting a value for the
specRunnerTemplate attribute. |
ImmutableJasmineConfiguration |
withSpecs(ScriptSearch value)
Copy the current immutable object by setting a value for the
specs attribute. |
ImmutableJasmineConfiguration |
withSrcDirectoryName(String value)
Copy the current immutable object by setting a value for the
srcDirectoryName attribute. |
public File getBasedir()
getBasedir in class JasmineConfigurationbasedir attributepublic File getJasmineTargetDir()
getJasmineTargetDir in class JasmineConfigurationjasmineTargetDir attributepublic String getSrcDirectoryName()
getSrcDirectoryName in class JasmineConfigurationsrcDirectoryName attributepublic String getSpecDirectoryName()
getSpecDirectoryName in class JasmineConfigurationspecDirectoryName attributepublic ScriptSearch getSources()
getSources in class JasmineConfigurationsources attributepublic ScriptSearch getSpecs()
getSpecs in class JasmineConfigurationspecs attributepublic List<Context> getContexts()
getContexts in class JasmineConfigurationcontexts attributepublic List<String> getPreloadSources()
getPreloadSources in class JasmineConfigurationpreloadSources attributepublic String getSourceEncoding()
getSourceEncoding in class JasmineConfigurationsourceEncoding attributepublic SpecRunnerTemplate getSpecRunnerTemplate()
getSpecRunnerTemplate in class JasmineConfigurationspecRunnerTemplate attributepublic Optional<File> getCustomRunnerTemplate()
getCustomRunnerTemplate in class JasmineConfigurationcustomRunnerTemplate attributepublic Optional<File> getCustomRunnerConfiguration()
getCustomRunnerConfiguration in class JasmineConfigurationcustomRunnerConfiguration attributepublic String getSpecRunnerHtmlFileName()
getSpecRunnerHtmlFileName in class JasmineConfigurationspecRunnerHtmlFileName attributepublic ReporterType getReporterType()
getReporterType in class JasmineConfigurationreporterType attributepublic List<Reporter> getReporters()
getReporters in class JasmineConfigurationreporters attributepublic List<FileSystemReporter> getFileSystemReporters()
getFileSystemReporters in class JasmineConfigurationfileSystemReporters attributepublic int getAutoRefreshInterval()
getAutoRefreshInterval in class JasmineConfigurationautoRefreshInterval attributepublic ClassLoader getProjectClassLoader()
getProjectClassLoader in class JasmineConfigurationprojectClassLoader attributepublic final ImmutableJasmineConfiguration withBasedir(File value)
basedir attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for basedirthis objectpublic final ImmutableJasmineConfiguration withJasmineTargetDir(File value)
jasmineTargetDir attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for jasmineTargetDirthis objectpublic final ImmutableJasmineConfiguration withSrcDirectoryName(String value)
srcDirectoryName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for srcDirectoryNamethis objectpublic final ImmutableJasmineConfiguration withSpecDirectoryName(String value)
specDirectoryName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for specDirectoryNamethis objectpublic final ImmutableJasmineConfiguration withSources(ScriptSearch value)
sources attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for sourcesthis objectpublic final ImmutableJasmineConfiguration withSpecs(ScriptSearch value)
specs attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for specsthis objectpublic final ImmutableJasmineConfiguration withContexts(Context... elements)
contexts.elements - The elements to setthis objectpublic final ImmutableJasmineConfiguration withContexts(Iterable<? extends Context> elements)
contexts.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of contexts elements to setthis objectpublic final ImmutableJasmineConfiguration withPreloadSources(String... elements)
preloadSources.elements - The elements to setthis objectpublic final ImmutableJasmineConfiguration withPreloadSources(Iterable<String> elements)
preloadSources.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of preloadSources elements to setthis objectpublic final ImmutableJasmineConfiguration 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 ImmutableJasmineConfiguration 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 ImmutableJasmineConfiguration withCustomRunnerTemplate(File value)
customRunnerTemplate attribute.value - The value for customRunnerTemplatethis objectpublic final ImmutableJasmineConfiguration withCustomRunnerTemplate(Optional<? extends File> optional)
customRunnerTemplate attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for customRunnerTemplatethis objectpublic final ImmutableJasmineConfiguration withCustomRunnerConfiguration(File value)
customRunnerConfiguration attribute.value - The value for customRunnerConfigurationthis objectpublic final ImmutableJasmineConfiguration withCustomRunnerConfiguration(Optional<? extends File> optional)
customRunnerConfiguration attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for customRunnerConfigurationthis objectpublic final ImmutableJasmineConfiguration withSpecRunnerHtmlFileName(String value)
specRunnerHtmlFileName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for specRunnerHtmlFileNamethis objectpublic final ImmutableJasmineConfiguration 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 ImmutableJasmineConfiguration withReporters(Reporter... elements)
reporters.elements - The elements to setthis objectpublic final ImmutableJasmineConfiguration withReporters(Iterable<? extends Reporter> elements)
reporters.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of reporters elements to setthis objectpublic final ImmutableJasmineConfiguration withFileSystemReporters(FileSystemReporter... elements)
fileSystemReporters.elements - The elements to setthis objectpublic final ImmutableJasmineConfiguration withFileSystemReporters(Iterable<? extends FileSystemReporter> elements)
fileSystemReporters.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of fileSystemReporters elements to setthis objectpublic final ImmutableJasmineConfiguration 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 final ImmutableJasmineConfiguration withProjectClassLoader(ClassLoader value)
projectClassLoader attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for projectClassLoaderthis objectpublic boolean equals(@Nullable Object another)
ImmutableJasmineConfiguration that have equal attribute values.public int hashCode()
basedir, jasmineTargetDir, srcDirectoryName, specDirectoryName, sources, specs, contexts, preloadSources, sourceEncoding, specRunnerTemplate, customRunnerTemplate, customRunnerConfiguration, specRunnerHtmlFileName, reporterType, reporters, fileSystemReporters, autoRefreshInterval, projectClassLoader.public String toString()
JasmineConfiguration with attribute values.public static ImmutableJasmineConfiguration copyOf(JasmineConfiguration instance)
JasmineConfiguration 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 ImmutableJasmineConfiguration.Builder builder()
ImmutableJasmineConfiguration.Copyright © 2010–2018 Justin Searls. All rights reserved.