public final class ImmutableExtractedArtifactStore extends ExtractedArtifactStore
ExtractedArtifactStore.
Use the builder to create immutable instances:
ImmutableExtractedArtifactStore.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableExtractedArtifactStore.Builder
Builds instances of type
ImmutableExtractedArtifactStore. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableExtractedArtifactStore.Builder |
builder()
Creates a builder for
ImmutableExtractedArtifactStore. |
static ImmutableExtractedArtifactStore |
copyOf(ExtractedArtifactStore instance)
Creates an immutable copy of a
ExtractedArtifactStore value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableExtractedArtifactStore that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
downloadConfig, downloader, extraction, temp. |
String |
toString()
Prints the immutable value
ExtractedArtifactStore with attribute values. |
ImmutableExtractedArtifactStore |
withDownloadConfig(DownloadConfig value)
Copy the current immutable object by setting a value for the
downloadConfig attribute. |
ImmutableExtractedArtifactStore |
withDownloader(Downloader value)
Copy the current immutable object by setting a value for the
downloader attribute. |
ImmutableExtractedArtifactStore |
withExtraction(DirectoryAndExecutableNaming value)
Copy the current immutable object by setting a value for the
extraction attribute. |
ImmutableExtractedArtifactStore |
withTemp(DirectoryAndExecutableNaming value)
Copy the current immutable object by setting a value for the
temp attribute. |
download, executableNaming, extractFileSet, of, removeFileSetpublic final ImmutableExtractedArtifactStore 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 ImmutableExtractedArtifactStore 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 final ImmutableExtractedArtifactStore withExtraction(DirectoryAndExecutableNaming value)
extraction attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for extractionthis objectpublic final ImmutableExtractedArtifactStore withTemp(DirectoryAndExecutableNaming value)
temp attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for tempthis objectpublic boolean equals(Object another)
ImmutableExtractedArtifactStore that have equal attribute values.public int hashCode()
downloadConfig, downloader, extraction, temp.public String toString()
ExtractedArtifactStore with attribute values.public static ImmutableExtractedArtifactStore copyOf(ExtractedArtifactStore instance)
ExtractedArtifactStore 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 ImmutableExtractedArtifactStore.Builder builder()
ImmutableExtractedArtifactStore.
ImmutableExtractedArtifactStore.builder()
.downloadConfig(de.flapdoodle.embed.process.config.store.DownloadConfig) // required downloadConfig
.downloader(de.flapdoodle.embed.process.store.Downloader) // required downloader
.extraction(de.flapdoodle.embed.process.extract.DirectoryAndExecutableNaming) // required extraction
.temp(de.flapdoodle.embed.process.extract.DirectoryAndExecutableNaming) // required temp
.build();
Copyright © 2022. All rights reserved.