protected abstract static class ByteBuddyMojo.Transformer extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ByteBuddyMojo.Transformer.ForConfiguredPlugin
A transformer for an explicitly configured plugin.
|
protected static class |
ByteBuddyMojo.Transformer.ForDiscoveredPlugin
A transformer for a discovered plugin.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Transformer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getPlugin()
Returns the name of the plugin to apply.
|
protected abstract List<? extends Plugin.Factory.UsingReflection.ArgumentResolver> |
toArgumentResolvers()
Returns the argument resolvers to use.
|
protected abstract ClassLoader |
toClassLoader(ClassLoaderResolver classLoaderResolver,
String groupId,
String artifactId,
String version,
String packaging)
Resolves the class loader to use for resolving the plugin.
|
protected abstract String getPlugin() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - If the plugin name was not set.protected abstract List<? extends Plugin.Factory.UsingReflection.ArgumentResolver> toArgumentResolvers()
protected abstract ClassLoader toClassLoader(ClassLoaderResolver classLoaderResolver, String groupId, String artifactId, String version, String packaging) throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
classLoaderResolver - The class loader resolver to use.groupId - The group id of this project.artifactId - The artifact id of this project.version - The version of this project.packaging - The packaging of this project.org.apache.maven.plugin.MojoFailureException - If the class loader resolution yields a failure.org.apache.maven.plugin.MojoExecutionException - The the class loader resolution is incorrect.Copyright © 2014–2021. All rights reserved.