public final class ImmutableInitTempDirectory extends InitTempDirectory
InitTempDirectory.
Use the builder to create immutable instances:
ImmutableInitTempDirectory.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableInitTempDirectory.Builder
Builds instances of type
ImmutableInitTempDirectory. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableInitTempDirectory.Builder |
builder()
Creates a builder for
ImmutableInitTempDirectory. |
static ImmutableInitTempDirectory |
copyOf(InitTempDirectory instance)
Creates an immutable copy of a
InitTempDirectory value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableInitTempDirectory that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
tempDir. |
protected TempDir |
tempDir() |
String |
toString()
Prints the immutable value
InitTempDirectory with attribute values. |
ImmutableInitTempDirectory |
withTempDir(TempDir value)
Copy the current immutable object by setting a value for the
tempDir attribute. |
destination, result, sources, transitionLabel, with, withPlatformTemp, withPlatformTempRandomSubDirprotected TempDir tempDir()
tempDir in class InitTempDirectorytempDir attributepublic final ImmutableInitTempDirectory withTempDir(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 boolean equals(Object another)
ImmutableInitTempDirectory that have equal attribute values.public int hashCode()
tempDir.public String toString()
InitTempDirectory with attribute values.public static ImmutableInitTempDirectory copyOf(InitTempDirectory instance)
InitTempDirectory 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 ImmutableInitTempDirectory.Builder builder()
ImmutableInitTempDirectory.
ImmutableInitTempDirectory.builder()
.tempDir(de.flapdoodle.embed.process.io.directories.TempDir) // optional tempDir
.build();
Copyright © 2024. All rights reserved.