Class ImmutableSourceListing
java.lang.Object
io.github.ascopes.protobufmavenplugin.sources.ImmutableSourceListing
- All Implemented Interfaces:
SourceListing
@Generated(from="SourceListing",
generator="Immutables")
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutableSourceListing
extends Object
implements SourceListing
Immutable implementation of
SourceListing
.
Use the builder to create immutable instances:
ImmutableSourceListing.builder()
.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Builds instances of typeImmutableSourceListing
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a builder forImmutableSourceListing
.boolean
This instance is equal to all instances ofImmutableSourceListing
that have equal attribute values.@Nullable Path
int
hashCode()
Computes a hash code from attributes:sourceRoot
,sourceFiles
.toString()
Prints the immutable valueSourceListing
with attribute values.
-
Method Details
-
getSourceRoot
- Specified by:
getSourceRoot
in interfaceSourceListing
- Returns:
- The value of the
sourceRoot
attribute
-
getSourceFiles
- Specified by:
getSourceFiles
in interfaceSourceListing
- Returns:
- The value of the
sourceFiles
attribute
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutableSourceListing
.ImmutableSourceListing.builder() .sourceRoot(java.nio.file.Path | null) // nullable
sourceRoot
.addSourceFiles|addAllSourceFiles(java.nio.file.Path) //sourceFiles
elements .build();- Returns:
- A new ImmutableSourceListing builder
-