public final class ImmutableExtractPackage extends ExtractPackage
ExtractPackage.
Use the builder to create immutable instances:
ImmutableExtractPackage.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableExtractPackage.Builder
Builds instances of type
ImmutableExtractPackage. |
| Modifier and Type | Method and Description |
|---|---|
protected de.flapdoodle.reverse.StateID<Archive> |
archive() |
static ImmutableExtractPackage.Builder |
builder()
Creates a builder for
ImmutableExtractPackage. |
static ImmutableExtractPackage |
copyOf(ExtractPackage instance)
Creates an immutable copy of a
ExtractPackage value. |
de.flapdoodle.reverse.StateID<ExtractedFileSet> |
destination() |
protected de.flapdoodle.reverse.StateID<Package> |
distPackage() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableExtractPackage that have equal attribute values. |
protected Optional<de.flapdoodle.reverse.StateID<ExtractedFileSetStore>> |
extractedFileSetStore() |
int |
hashCode()
Computes a hash code from attributes:
transitionLabel, name, destination, archive, distPackage, tempDir, extractedFileSetStore. |
protected de.flapdoodle.reverse.StateID<Name> |
name() |
protected de.flapdoodle.reverse.StateID<TempDir> |
tempDir() |
String |
toString()
Prints the immutable value
ExtractPackage with attribute values. |
String |
transitionLabel() |
ImmutableExtractPackage |
withArchive(de.flapdoodle.reverse.StateID<Archive> value)
Copy the current immutable object by setting a value for the
archive attribute. |
ImmutableExtractPackage |
withDestination(de.flapdoodle.reverse.StateID<ExtractedFileSet> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableExtractPackage |
withDistPackage(de.flapdoodle.reverse.StateID<Package> value)
Copy the current immutable object by setting a value for the
distPackage attribute. |
ImmutableExtractPackage |
withExtractedFileSetStore(Optional<? extends de.flapdoodle.reverse.StateID<ExtractedFileSetStore>> optional)
Copy the current immutable object by setting an optional value for the
extractedFileSetStore attribute. |
ImmutableExtractPackage |
withExtractedFileSetStore(de.flapdoodle.reverse.StateID<ExtractedFileSetStore> value)
Copy the current immutable object by setting a present value for the optional
extractedFileSetStore attribute. |
ImmutableExtractPackage |
withName(de.flapdoodle.reverse.StateID<Name> value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableExtractPackage |
withTempDir(de.flapdoodle.reverse.StateID<TempDir> value)
Copy the current immutable object by setting a value for the
tempDir attribute. |
ImmutableExtractPackage |
withTransitionLabel(String value)
Copy the current immutable object by setting a value for the
transitionLabel attribute. |
result, sources, withDefaultspublic String transitionLabel()
transitionLabel in interface de.flapdoodle.reverse.naming.HasLabeltransitionLabel in class ExtractPackagetransitionLabel attributeprotected de.flapdoodle.reverse.StateID<Name> name()
name in class ExtractPackagename attributepublic de.flapdoodle.reverse.StateID<ExtractedFileSet> destination()
destination in interface de.flapdoodle.reverse.Transition<ExtractedFileSet>destination in class ExtractPackagedestination attributeprotected de.flapdoodle.reverse.StateID<Archive> archive()
archive in class ExtractPackagearchive attributeprotected de.flapdoodle.reverse.StateID<Package> distPackage()
distPackage in class ExtractPackagedistPackage attributeprotected de.flapdoodle.reverse.StateID<TempDir> tempDir()
tempDir in class ExtractPackagetempDir attributeprotected Optional<de.flapdoodle.reverse.StateID<ExtractedFileSetStore>> extractedFileSetStore()
extractedFileSetStore in class ExtractPackageextractedFileSetStore attributepublic final ImmutableExtractPackage withTransitionLabel(String value)
transitionLabel attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for transitionLabelthis objectpublic final ImmutableExtractPackage withName(de.flapdoodle.reverse.StateID<Name> value)
name attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for namethis objectpublic final ImmutableExtractPackage withDestination(de.flapdoodle.reverse.StateID<ExtractedFileSet> value)
destination attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for destinationthis objectpublic final ImmutableExtractPackage withArchive(de.flapdoodle.reverse.StateID<Archive> value)
archive attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for archivethis objectpublic final ImmutableExtractPackage withDistPackage(de.flapdoodle.reverse.StateID<Package> value)
distPackage attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for distPackagethis objectpublic final ImmutableExtractPackage withTempDir(de.flapdoodle.reverse.StateID<TempDir> value)
tempDir attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for tempDirthis objectpublic final ImmutableExtractPackage withExtractedFileSetStore(de.flapdoodle.reverse.StateID<ExtractedFileSetStore> value)
extractedFileSetStore attribute.value - The value for extractedFileSetStorethis if not changedpublic final ImmutableExtractPackage withExtractedFileSetStore(Optional<? extends de.flapdoodle.reverse.StateID<ExtractedFileSetStore>> optional)
extractedFileSetStore attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - An optional value for extractedFileSetStorethis if not changedpublic boolean equals(Object another)
ImmutableExtractPackage that have equal attribute values.public int hashCode()
transitionLabel, name, destination, archive, distPackage, tempDir, extractedFileSetStore.public String toString()
ExtractPackage with attribute values.public static ImmutableExtractPackage copyOf(ExtractPackage instance)
ExtractPackage 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 ImmutableExtractPackage.Builder builder()
ImmutableExtractPackage.
ImmutableExtractPackage.builder()
.transitionLabel(String) // optional transitionLabel
.name(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.Name>) // optional name
.destination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.archives.ExtractedFileSet>) // optional destination
.archive(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.Archive>) // optional archive
.distPackage(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.store.Package>) // optional distPackage
.tempDir(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.io.directories.TempDir>) // optional tempDir
.extractedFileSetStore(Optional<de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.store.ExtractedFileSetStore>>) // optional extractedFileSetStore
.build();
Copyright © 2025. All rights reserved.