Class ImmutableMavenProtocPlugin
java.lang.Object
io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
- All Implemented Interfaces:
MavenArtifact, MavenProtocPlugin, ProtocPlugin
@Generated(from="MavenProtocPlugin",
generator="Immutables")
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutableMavenProtocPlugin
extends Object
implements MavenProtocPlugin
Immutable implementation of
MavenProtocPlugin
.
Use the builder to create immutable instances:
ImmutableMavenProtocPlugin.builder()
.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Builds instances of typeImmutableMavenProtocPlugin
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a builder forImmutableMavenProtocPlugin
.boolean
This instance is equal to all instances ofImmutableMavenProtocPlugin
that have equal attribute values.@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
int
getOrder()
@Nullable Path
@Nullable String
getType()
@NonNull @Nullable String
int
hashCode()
Computes a hash code from attributes:groupId
,artifactId
,type
,classifier
,options
,outputDirectory
,registerAsCompilationRoot
,order
,skip
,version
,jvmArgs
,jvmConfigArgs
,mainClass
.@Nullable Boolean
boolean
isSkip()
toString()
Prints the immutable valueMavenProtocPlugin
with attribute values.
-
Method Details
-
getGroupId
- Specified by:
getGroupId
in interfaceMavenArtifact
- Returns:
- The value of the
groupId
attribute
-
getArtifactId
- Specified by:
getArtifactId
in interfaceMavenArtifact
- Returns:
- The value of the
artifactId
attribute
-
getType
- Specified by:
getType
in interfaceMavenArtifact
- Returns:
- The value of the
type
attribute
-
getClassifier
- Specified by:
getClassifier
in interfaceMavenArtifact
- Returns:
- The value of the
classifier
attribute
-
getOptions
- Specified by:
getOptions
in interfaceProtocPlugin
- Returns:
- The value of the
options
attribute
-
getOutputDirectory
- Specified by:
getOutputDirectory
in interfaceProtocPlugin
- Returns:
- The value of the
outputDirectory
attribute
-
isRegisterAsCompilationRoot
- Specified by:
isRegisterAsCompilationRoot
in interfaceProtocPlugin
- Returns:
- The value of the
registerAsCompilationRoot
attribute
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceProtocPlugin
- Returns:
- The value of the
order
attribute
-
isSkip
public boolean isSkip()- Specified by:
isSkip
in interfaceProtocPlugin
- Returns:
- The value of the
skip
attribute
-
getVersion
- Specified by:
getVersion
in interfaceMavenArtifact
- Specified by:
getVersion
in interfaceMavenProtocPlugin
- Returns:
- The value of the
version
attribute
-
getJvmArgs
- Specified by:
getJvmArgs
in interfaceMavenProtocPlugin
- Returns:
- The value of the
jvmArgs
attribute
-
getJvmConfigArgs
- Specified by:
getJvmConfigArgs
in interfaceMavenProtocPlugin
- Returns:
- The value of the
jvmConfigArgs
attribute
-
getMainClass
- Specified by:
getMainClass
in interfaceMavenProtocPlugin
- Returns:
- The value of the
mainClass
attribute
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutableMavenProtocPlugin
.ImmutableMavenProtocPlugin.builder() .groupId(String | null) // nullable
groupId
.artifactId(String | null) // nullableartifactId
.type(String | null) // nullabletype
.classifier(String | null) // nullableclassifier
.options(String | null) // nullableoptions
.outputDirectory(java.nio.file.Path | null) // nullableoutputDirectory
.registerAsCompilationRoot(Boolean | null) // nullableregisterAsCompilationRoot
.order(int) // optionalorder
.skip(boolean) // optionalskip
.version(String | null) // nullableversion
.jvmArgs(List<String> | null) // nullablejvmArgs
.jvmConfigArgs(List<String> | null) // nullablejvmConfigArgs
.mainClass(String | null) // nullablemainClass
.build();- Returns:
- A new ImmutableMavenProtocPlugin builder
-