Class ImmutableBinaryMavenProtocPlugin
java.lang.Object
io.github.ascopes.protobufmavenplugin.dependencies.MavenArtifact
io.github.ascopes.protobufmavenplugin.plugins.BinaryMavenProtocPlugin
io.github.ascopes.protobufmavenplugin.plugins.ImmutableBinaryMavenProtocPlugin
- All Implemented Interfaces:
ProtocPlugin
@Generated(from="BinaryMavenProtocPlugin",
generator="Immutables")
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutableBinaryMavenProtocPlugin
extends BinaryMavenProtocPlugin
Immutable implementation of
BinaryMavenProtocPlugin.
Use the builder to create immutable instances:
ImmutableBinaryMavenProtocPlugin.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableBinaryMavenProtocPlugin. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableBinaryMavenProtocPlugin.booleanThis instance is equal to all instances ofImmutableBinaryMavenProtocPluginthat have equal attribute values.@Nullable String@Nullable String@Nullable String@Nullable StringintgetOrder()@Nullable Path@Nullable StringgetType()@NonNull @Nullable StringinthashCode()Computes a hash code from attributes:options,outputDirectory,registerAsCompilationRoot,order,skip,groupId,artifactId,type,classifier,version.@Nullable BooleanbooleanisSkip()Methods inherited from class BinaryMavenProtocPlugin
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
-
getGroupId
- Specified by:
getGroupIdin classMavenArtifact- Returns:
- The value of the
groupIdattribute
-
getArtifactId
- Specified by:
getArtifactIdin classMavenArtifact- Returns:
- The value of the
artifactIdattribute
-
getType
- Specified by:
getTypein classMavenArtifact- Returns:
- The value of the
typeattribute
-
getClassifier
- Specified by:
getClassifierin classMavenArtifact- Returns:
- The value of the
classifierattribute
-
getVersion
- Specified by:
getVersionin classBinaryMavenProtocPlugin- Returns:
- The value of the
versionattribute
-
equals
-
hashCode
-
builder
Creates a builder forImmutableBinaryMavenProtocPlugin.ImmutableBinaryMavenProtocPlugin.builder() .options(String | null) // nullable
options.outputDirectory(java.nio.file.Path | null) // nullableoutputDirectory.registerAsCompilationRoot(Boolean | null) // nullableregisterAsCompilationRoot.order(int) // optionalorder.skip(boolean) // optionalskip.groupId(String | null) // nullablegroupId.artifactId(String | null) // nullableartifactId.type(String | null) // nullabletype.classifier(String | null) // nullableclassifier.version(String | null) // nullableversion.build();- Returns:
- A new ImmutableBinaryMavenProtocPlugin builder
-