public static final class ImmutableExtractPackage.Builder extends Object
ImmutableExtractPackage.
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 |
|---|---|
ImmutableExtractPackage.Builder |
archive(de.flapdoodle.reverse.StateID<Archive> archive)
Initializes the value for the
archive attribute. |
ImmutableExtractPackage |
build()
Builds a new
ImmutableExtractPackage. |
ImmutableExtractPackage.Builder |
destination(de.flapdoodle.reverse.StateID<ExtractedFileSet> destination)
Initializes the value for the
destination attribute. |
ImmutableExtractPackage.Builder |
distPackage(de.flapdoodle.reverse.StateID<Package> distPackage)
Initializes the value for the
distPackage attribute. |
ImmutableExtractPackage.Builder |
extractedFileSetStore(Optional<? extends de.flapdoodle.reverse.StateID<ExtractedFileSetStore>> extractedFileSetStore)
Initializes the optional value
extractedFileSetStore to extractedFileSetStore. |
ImmutableExtractPackage.Builder |
extractedFileSetStore(de.flapdoodle.reverse.StateID<ExtractedFileSetStore> extractedFileSetStore)
Initializes the optional value
extractedFileSetStore to extractedFileSetStore. |
ImmutableExtractPackage.Builder |
from(ExtractPackage instance)
Fill a builder with attribute values from the provided
de.flapdoodle.embed.process.transitions.ExtractPackage instance. |
ImmutableExtractPackage.Builder |
from(de.flapdoodle.reverse.naming.HasLabel instance)
Fill a builder with attribute values from the provided
de.flapdoodle.reverse.naming.HasLabel instance. |
ImmutableExtractPackage.Builder |
name(de.flapdoodle.reverse.StateID<Name> name)
Initializes the value for the
name attribute. |
ImmutableExtractPackage.Builder |
tempDir(de.flapdoodle.reverse.StateID<TempDir> tempDir)
Initializes the value for the
tempDir attribute. |
ImmutableExtractPackage.Builder |
transitionLabel(String transitionLabel)
Initializes the value for the
transitionLabel attribute. |
public final ImmutableExtractPackage.Builder from(de.flapdoodle.reverse.naming.HasLabel instance)
de.flapdoodle.reverse.naming.HasLabel instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableExtractPackage.Builder from(ExtractPackage instance)
de.flapdoodle.embed.process.transitions.ExtractPackage instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableExtractPackage.Builder transitionLabel(String transitionLabel)
transitionLabel attribute.
If not set, this attribute will have a default value as returned by the initializer of transitionLabel.
transitionLabel - The value for transitionLabelthis builder for use in a chained invocationpublic final ImmutableExtractPackage.Builder name(de.flapdoodle.reverse.StateID<Name> name)
name attribute.
If not set, this attribute will have a default value as returned by the initializer of name.
name - The value for namethis builder for use in a chained invocationpublic final ImmutableExtractPackage.Builder destination(de.flapdoodle.reverse.StateID<ExtractedFileSet> destination)
destination attribute.
If not set, this attribute will have a default value as returned by the initializer of destination.
destination - The value for destinationthis builder for use in a chained invocationpublic final ImmutableExtractPackage.Builder archive(de.flapdoodle.reverse.StateID<Archive> archive)
archive attribute.
If not set, this attribute will have a default value as returned by the initializer of archive.
archive - The value for archivethis builder for use in a chained invocationpublic final ImmutableExtractPackage.Builder distPackage(de.flapdoodle.reverse.StateID<Package> distPackage)
distPackage attribute.
If not set, this attribute will have a default value as returned by the initializer of distPackage.
distPackage - The value for distPackagethis builder for use in a chained invocationpublic final ImmutableExtractPackage.Builder tempDir(de.flapdoodle.reverse.StateID<TempDir> tempDir)
tempDir attribute.
If not set, this attribute will have a default value as returned by the initializer of tempDir.
tempDir - The value for tempDirthis builder for use in a chained invocationpublic final ImmutableExtractPackage.Builder extractedFileSetStore(de.flapdoodle.reverse.StateID<ExtractedFileSetStore> extractedFileSetStore)
extractedFileSetStore to extractedFileSetStore.extractedFileSetStore - The value for extractedFileSetStorethis builder for chained invocationpublic final ImmutableExtractPackage.Builder extractedFileSetStore(Optional<? extends de.flapdoodle.reverse.StateID<ExtractedFileSetStore>> extractedFileSetStore)
extractedFileSetStore to extractedFileSetStore.extractedFileSetStore - The value for extractedFileSetStorethis builder for use in a chained invocationpublic ImmutableExtractPackage build()
ImmutableExtractPackage.IllegalStateException - if any required attributes are missingCopyright © 2023. All rights reserved.