Class ImmutableJvmMavenProtocPlugin
java.lang.Object
io.github.ascopes.protobufmavenplugin.dependencies.MavenArtifact
io.github.ascopes.protobufmavenplugin.plugins.distributions.JvmMavenProtocPlugin
io.github.ascopes.protobufmavenplugin.plugins.distributions.ImmutableJvmMavenProtocPlugin
- All Implemented Interfaces:
ProtocPlugin
@Generated(from="JvmMavenProtocPlugin",
generator="Immutables")
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutableJvmMavenProtocPlugin
extends JvmMavenProtocPlugin
Immutable implementation of
JvmMavenProtocPlugin.
Use the builder to create immutable instances:
ImmutableJvmMavenProtocPlugin.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableJvmMavenProtocPlugin. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableJvmMavenProtocPlugin.booleanThis instance is equal to all instances ofImmutableJvmMavenProtocPluginthat have equal attribute values.@Nullable String@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,jvmArgs,jvmConfigArgs,mainClass.@Nullable BooleanbooleanisSkip()Methods inherited from class JvmMavenProtocPlugin
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 classJvmMavenProtocPlugin- Returns:
- The value of the
versionattribute
-
getJvmArgs
- Specified by:
getJvmArgsin classJvmMavenProtocPlugin- Returns:
- The value of the
jvmArgsattribute
-
getJvmConfigArgs
- Specified by:
getJvmConfigArgsin classJvmMavenProtocPlugin- Returns:
- The value of the
jvmConfigArgsattribute
-
getMainClass
- Specified by:
getMainClassin classJvmMavenProtocPlugin- Returns:
- The value of the
mainClassattribute
-
equals
-
hashCode
-
builder
Creates a builder forImmutableJvmMavenProtocPlugin.ImmutableJvmMavenProtocPlugin.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.jvmArgs(List<String> | null) // nullablejvmArgs.jvmConfigArgs(List<String> | null) // nullablejvmConfigArgs.mainClass(String | null) // nullablemainClass.build();- Returns:
- A new ImmutableJvmMavenProtocPlugin builder
-