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 classBuilds instances of typeImmutableMavenProtocPlugin. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableMavenProtocPlugin.booleanThis instance is equal to all instances ofImmutableMavenProtocPluginthat 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:groupId,artifactId,type,classifier,options,outputDirectory,registerAsCompilationRoot,order,skip,version,jvmArgs,jvmConfigArgs,mainClass.@Nullable BooleanbooleanisSkip()toString()Prints the immutable valueMavenProtocPluginwith attribute values.
-
Method Details
-
getGroupId
- Specified by:
getGroupIdin interfaceMavenArtifact- Returns:
- The value of the
groupIdattribute
-
getArtifactId
- Specified by:
getArtifactIdin interfaceMavenArtifact- Returns:
- The value of the
artifactIdattribute
-
getType
- Specified by:
getTypein interfaceMavenArtifact- Returns:
- The value of the
typeattribute
-
getClassifier
- Specified by:
getClassifierin interfaceMavenArtifact- Returns:
- The value of the
classifierattribute
-
getOptions
- Specified by:
getOptionsin interfaceProtocPlugin- Returns:
- The value of the
optionsattribute
-
getOutputDirectory
- Specified by:
getOutputDirectoryin interfaceProtocPlugin- Returns:
- The value of the
outputDirectoryattribute
-
isRegisterAsCompilationRoot
- Specified by:
isRegisterAsCompilationRootin interfaceProtocPlugin- Returns:
- The value of the
registerAsCompilationRootattribute
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceProtocPlugin- Returns:
- The value of the
orderattribute
-
isSkip
public boolean isSkip()- Specified by:
isSkipin interfaceProtocPlugin- Returns:
- The value of the
skipattribute
-
getVersion
- Specified by:
getVersionin interfaceMavenArtifact- Specified by:
getVersionin interfaceMavenProtocPlugin- Returns:
- The value of the
versionattribute
-
getJvmArgs
- Specified by:
getJvmArgsin interfaceMavenProtocPlugin- Returns:
- The value of the
jvmArgsattribute
-
getJvmConfigArgs
- Specified by:
getJvmConfigArgsin interfaceMavenProtocPlugin- Returns:
- The value of the
jvmConfigArgsattribute
-
getMainClass
- Specified by:
getMainClassin interfaceMavenProtocPlugin- Returns:
- The value of the
mainClassattribute
-
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
-