Class ImmutablePathProtocPlugin
java.lang.Object
io.github.ascopes.protobufmavenplugin.plugins.distributions.PathProtocPlugin
io.github.ascopes.protobufmavenplugin.plugins.distributions.ImmutablePathProtocPlugin
- All Implemented Interfaces:
ProtocPlugin
@Generated(from="PathProtocPlugin",
generator="Immutables")
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutablePathProtocPlugin
extends PathProtocPlugin
Immutable implementation of
PathProtocPlugin.
Use the builder to create immutable instances:
ImmutablePathProtocPlugin.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutablePathProtocPlugin. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutablePathProtocPlugin.booleanThis instance is equal to all instances ofImmutablePathProtocPluginthat have equal attribute values.@Nullable Digest@Nullable StringgetName()@Nullable StringintgetOrder()@Nullable PathinthashCode()Computes a hash code from attributes:options,outputDirectory,registerAsCompilationRoot,order,skip,name,digest,optional.boolean@Nullable BooleanbooleanisSkip()Methods inherited from class PathProtocPlugin
toString
-
Method Details
-
getOptions
- Returns:
- The value of the
optionsattribute
-
getOutputDirectory
- Returns:
- The value of the
outputDirectoryattribute
-
isRegisterAsCompilationRoot
- Returns:
- The value of the
registerAsCompilationRootattribute
-
getOrder
public int getOrder()- Returns:
- The value of the
orderattribute
-
isSkip
public boolean isSkip()- Returns:
- The value of the
skipattribute
-
getName
- Specified by:
getNamein classPathProtocPlugin- Returns:
- The value of the
nameattribute
-
getDigest
- Specified by:
getDigestin classPathProtocPlugin- Returns:
- The value of the
digestattribute
-
isOptional
public boolean isOptional()- Specified by:
isOptionalin classPathProtocPlugin- Returns:
- The value of the
optionalattribute
-
equals
-
hashCode
-
builder
Creates a builder forImmutablePathProtocPlugin.ImmutablePathProtocPlugin.builder() .options(String | null) // nullable
options.outputDirectory(java.nio.file.Path | null) // nullableoutputDirectory.registerAsCompilationRoot(Boolean | null) // nullableregisterAsCompilationRoot.order(int) // optionalorder.skip(boolean) // optionalskip.name(String | null) // nullablename.digest(io.github.ascopes.protobufmavenplugin.digests.Digest | null) // nullabledigest.optional(boolean) // optionaloptional.build();- Returns:
- A new ImmutablePathProtocPlugin builder
-