@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableExtractedFileSet extends ExtractedFileSet
ExtractedFileSet.
Use the builder to create immutable instances:
ImmutableExtractedFileSet.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableExtractedFileSet.Builder
Builds instances of type
ImmutableExtractedFileSet. |
| Modifier and Type | Method and Description |
|---|---|
File |
baseDir() |
boolean |
baseDirIsGenerated() |
static ImmutableExtractedFileSet.Builder |
builder(File baseDir)
Creates a builder for
ImmutableExtractedFileSet. |
static ImmutableExtractedFileSet |
copyOf(ExtractedFileSet instance)
Creates an immutable copy of a
ExtractedFileSet value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableExtractedFileSet that have equal attribute values. |
File |
executable() |
int |
hashCode()
Computes a hash code from attributes:
baseDir, executable, libraryFiles, baseDirIsGenerated. |
Set<File> |
libraryFiles() |
String |
toString()
Prints the immutable value
ExtractedFileSet with attribute values. |
ImmutableExtractedFileSet |
withBaseDir(File value)
Copy the current immutable object by setting a value for the
baseDir attribute. |
ImmutableExtractedFileSet |
withBaseDirIsGenerated(boolean value)
Copy the current immutable object by setting a value for the
baseDirIsGenerated attribute. |
ImmutableExtractedFileSet |
withExecutable(File value)
Copy the current immutable object by setting a value for the
executable attribute. |
ImmutableExtractedFileSet |
withLibraryFiles(File... elements)
Copy the current immutable object with elements that replace the content of
libraryFiles. |
ImmutableExtractedFileSet |
withLibraryFiles(Iterable<? extends File> elements)
Copy the current immutable object with elements that replace the content of
libraryFiles. |
public File baseDir()
baseDir in class ExtractedFileSetbaseDir attributepublic File executable()
executable in class ExtractedFileSetexecutable attributepublic Set<File> libraryFiles()
libraryFiles in class ExtractedFileSetlibraryFiles attributepublic boolean baseDirIsGenerated()
baseDirIsGenerated in class ExtractedFileSetbaseDirIsGenerated attributepublic final ImmutableExtractedFileSet withBaseDir(File value)
baseDir attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for baseDirthis objectpublic final ImmutableExtractedFileSet withExecutable(File value)
executable attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for executablethis objectpublic final ImmutableExtractedFileSet withLibraryFiles(File... elements)
libraryFiles.elements - The elements to setthis objectpublic final ImmutableExtractedFileSet withLibraryFiles(Iterable<? extends File> elements)
libraryFiles.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of libraryFiles elements to setthis objectpublic final ImmutableExtractedFileSet withBaseDirIsGenerated(boolean value)
baseDirIsGenerated attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for baseDirIsGeneratedthis objectpublic boolean equals(Object another)
ImmutableExtractedFileSet that have equal attribute values.public int hashCode()
baseDir, executable, libraryFiles, baseDirIsGenerated.public String toString()
ExtractedFileSet with attribute values.public static ImmutableExtractedFileSet copyOf(ExtractedFileSet instance)
ExtractedFileSet 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 ImmutableExtractedFileSet.Builder builder(File baseDir)
ImmutableExtractedFileSet.
ImmutableExtractedFileSet.builder()
.baseDir(java.io.File) // required baseDir
.executable(java.io.File) // required executable
.addLibraryFiles|addAllLibraryFiles(java.io.File) // libraryFiles elements
.baseDirIsGenerated(boolean) // required baseDirIsGenerated
.build();
baseDir - baseDir parameterCopyright © 2020. All rights reserved.