@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableArtifactStore extends ArtifactStore
ArtifactStore.
Use the builder to create immutable instances:
ImmutableArtifactStore.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableArtifactStore.Builder
Builds instances of type
ImmutableArtifactStore. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableArtifactStore.Builder |
builder()
Creates a builder for
ImmutableArtifactStore. |
static ImmutableArtifactStore |
copyOf(ArtifactStore instance)
Creates an immutable copy of a
ArtifactStore value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableArtifactStore that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
downloadConfig, tempDirFactory, executableNaming, downloader. |
String |
toString()
Prints the immutable value
ArtifactStore with attribute values. |
ImmutableArtifactStore |
withDownloadConfig(DownloadConfig value)
Copy the current immutable object by setting a value for the
downloadConfig attribute. |
ImmutableArtifactStore |
withDownloader(Downloader value)
Copy the current immutable object by setting a value for the
downloader attribute. |
ImmutableArtifactStore |
withExecutableNaming(TempNaming value)
Copy the current immutable object by setting a value for the
executableNaming attribute. |
ImmutableArtifactStore |
withTempDirFactory(Directory value)
Copy the current immutable object by setting a value for the
tempDirFactory attribute. |
executableNaming, extractFileSet, removeFileSet, with, withCachepublic final ImmutableArtifactStore withDownloadConfig(DownloadConfig value)
downloadConfig attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for downloadConfigthis objectpublic final ImmutableArtifactStore withTempDirFactory(Directory value)
tempDirFactory attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for tempDirFactorythis objectpublic final ImmutableArtifactStore withExecutableNaming(TempNaming value)
executableNaming attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for executableNamingthis objectpublic final ImmutableArtifactStore withDownloader(Downloader value)
downloader attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for downloaderthis objectpublic boolean equals(Object another)
ImmutableArtifactStore that have equal attribute values.public int hashCode()
downloadConfig, tempDirFactory, executableNaming, downloader.public String toString()
ArtifactStore with attribute values.public static ImmutableArtifactStore copyOf(ArtifactStore instance)
ArtifactStore 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 ImmutableArtifactStore.Builder builder()
ImmutableArtifactStore.
ImmutableArtifactStore.builder()
.downloadConfig(de.flapdoodle.embed.process.config.store.DownloadConfig) // required downloadConfig
.tempDirFactory(de.flapdoodle.embed.process.io.directories.Directory) // required tempDirFactory
.executableNaming(de.flapdoodle.embed.process.extract.TempNaming) // required executableNaming
.downloader(de.flapdoodle.embed.process.store.Downloader) // required downloader
.build();
Copyright © 2020. All rights reserved.