Class ImmutableFilesToCompile
java.lang.Object
io.github.ascopes.protobufmavenplugin.sources.ImmutableFilesToCompile
- All Implemented Interfaces:
FilesToCompile
@Generated(from="FilesToCompile",
generator="Immutables")
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutableFilesToCompile
extends Object
implements FilesToCompile
Immutable implementation of
FilesToCompile.
Use the builder to create immutable instances:
ImmutableFilesToCompile.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableFilesToCompile. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableFilesToCompile.booleanThis instance is equal to all instances ofImmutableFilesToCompilethat have equal attribute values.@Nullable Collection<String> @Nullable Collection<Path> inthashCode()Computes a hash code from attributes:protoSources,descriptorFiles,empty.booleanisEmpty()toString()Prints the immutable valueFilesToCompilewith attribute values.
-
Method Details
-
getProtoSources
- Specified by:
getProtoSourcesin interfaceFilesToCompile- Returns:
- The value of the
protoSourcesattribute
-
getDescriptorFiles
- Specified by:
getDescriptorFilesin interfaceFilesToCompile- Returns:
- The value of the
descriptorFilesattribute
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceFilesToCompile- Returns:
- The computed-at-construction value of the
emptyattribute
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutableFilesToCompile.ImmutableFilesToCompile.builder() .protoSources(Collection<java.nio.file.Path> | null) // nullable
protoSources.descriptorFiles(Collection<String> | null) // nullabledescriptorFiles.build();- Returns:
- A new ImmutableFilesToCompile builder
-