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 classBuilds instances of typeImmutableSourceListing. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableSourceListing.booleanThis instance is equal to all instances ofImmutableSourceListingthat have equal attribute values.@Nullable PathinthashCode()Computes a hash code from attributes:sourceRoot,sourceFiles.toString()Prints the immutable valueSourceListingwith attribute values.
-
Method Details
-
getSourceRoot
- Specified by:
getSourceRootin interfaceSourceListing- Returns:
- The value of the
sourceRootattribute
-
getSourceFiles
- Specified by:
getSourceFilesin interfaceSourceListing- Returns:
- The value of the
sourceFilesattribute
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutableSourceListing.ImmutableSourceListing.builder() .sourceRoot(java.nio.file.Path | null) // nullable
sourceRoot.addSourceFiles|addAllSourceFiles(java.nio.file.Path) //sourceFileselements .build();- Returns:
- A new ImmutableSourceListing builder
-