Class ImmutableProjectInputListing
java.lang.Object
io.github.ascopes.protobufmavenplugin.sources.ImmutableProjectInputListing
- All Implemented Interfaces:
ProjectInputListing
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutableProjectInputListing
extends Object
implements ProjectInputListing
Immutable implementation of
ProjectInputListing
.
Use the builder to create immutable instances:
ImmutableProjectInputListing.builder()
.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builds instances of typeImmutableProjectInputListing
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a builder forImmutableProjectInputListing
.boolean
This instance is equal to all instances ofImmutableProjectInputListing
that have equal attribute values.int
hashCode()
Computes a hash code from attributes:compilableSources
,dependencySources
.toString()
Prints the immutable valueProjectInputListing
with attribute values.
-
Method Details
-
getCompilableSources
- Specified by:
getCompilableSources
in interfaceProjectInputListing
- Returns:
- The value of the
compilableSources
attribute
-
getDependencySources
- Specified by:
getDependencySources
in interfaceProjectInputListing
- Returns:
- The value of the
dependencySources
attribute
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutableProjectInputListing
.ImmutableProjectInputListing.builder() .compilableSources(Collection<io.github.ascopes.protobufmavenplugin.sources.SourceListing> | null) // nullable
compilableSources
.dependencySources(Collection<io.github.ascopes.protobufmavenplugin.sources.SourceListing> | null) // nullabledependencySources
.build();- Returns:
- A new ImmutableProjectInputListing builder
-