Interface MavenProtocPlugin
- All Superinterfaces:
MavenArtifact
,ProtocPlugin
- All Known Implementing Classes:
ImmutableMavenProtocPlugin
,MavenProtocPluginBean
Implementation independent descriptor for a protoc plugin that can be resolved from a Maven
repository.
- Since:
- 2.0.0
- Author:
- Ashley Scopes
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable DependencyResolutionDepth
The dependency resolution depth.Get the command line arguments to pass to the JVM.Get the arguments to pass to the JVM to configure it.@Nullable String
The main class entrypoint to use if the plugin is not an assembled JAR.Methods inherited from interface io.github.ascopes.protobufmavenplugin.dependencies.MavenArtifact
getArtifactId, getClassifier, getGroupId, getType, getVersion
Methods inherited from interface io.github.ascopes.protobufmavenplugin.plugins.ProtocPlugin
getOptions, getOrder, isSkip
-
Method Details
-
getJvmArgs
-
getDependencyResolutionDepth
The dependency resolution depth.This cannot be changed for this type of plugin.
- Specified by:
getDependencyResolutionDepth
in interfaceMavenArtifact
- Returns:
null
, always.
-
getJvmConfigArgs
Get the arguments to pass to the JVM to configure it.Users can use this to control concerns such as heap memory controls, GC and JIT settings, and specifying additional JVM options.
- Returns:
- the list of command line arguments to pass to the JVM.
- Since:
- 2.6.0
-
getMainClass
@Nullable String getMainClass()The main class entrypoint to use if the plugin is not an assembled JAR.Ignored in all other cases.
- Returns:
- the main class name.
- Since:
- 2.5.0
-