public static final class ImmutableExtractedArtifactStore.Builder extends Object
ImmutableExtractedArtifactStore.
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.
| Modifier and Type | Method and Description |
|---|---|
ImmutableExtractedArtifactStore |
build()
Builds a new
ImmutableExtractedArtifactStore. |
ImmutableExtractedArtifactStore.Builder |
downloadConfig(DownloadConfig downloadConfig)
Initializes the value for the
downloadConfig attribute. |
ImmutableExtractedArtifactStore.Builder |
downloader(Downloader downloader)
Initializes the value for the
downloader attribute. |
ImmutableExtractedArtifactStore.Builder |
extraction(DirectoryAndExecutableNaming extraction)
Initializes the value for the
extraction attribute. |
ImmutableExtractedArtifactStore.Builder |
from(ExtractedArtifactStore instance)
Fill a builder with attribute values from the provided
ExtractedArtifactStore instance. |
ImmutableExtractedArtifactStore.Builder |
temp(DirectoryAndExecutableNaming temp)
Initializes the value for the
temp attribute. |
public final ImmutableExtractedArtifactStore.Builder from(ExtractedArtifactStore instance)
ExtractedArtifactStore 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 ImmutableExtractedArtifactStore.Builder downloadConfig(DownloadConfig downloadConfig)
downloadConfig attribute.downloadConfig - The value for downloadConfigthis builder for use in a chained invocationpublic final ImmutableExtractedArtifactStore.Builder downloader(Downloader downloader)
downloader attribute.downloader - The value for downloaderthis builder for use in a chained invocationpublic final ImmutableExtractedArtifactStore.Builder extraction(DirectoryAndExecutableNaming extraction)
extraction attribute.extraction - The value for extractionthis builder for use in a chained invocationpublic final ImmutableExtractedArtifactStore.Builder temp(DirectoryAndExecutableNaming temp)
temp attribute.temp - The value for tempthis builder for use in a chained invocationpublic ImmutableExtractedArtifactStore build()
ImmutableExtractedArtifactStore.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.