Package net.bytebuddy.build.maven
Class Transformation
- java.lang.Object
-
- net.bytebuddy.build.maven.CoordinateConfiguration
-
- net.bytebuddy.build.maven.Transformation
-
public class Transformation extends CoordinateConfiguration
A transformation specification to apply during the plugin's execution.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<PluginArgument>
arguments
A list of arguments that are provided to the plugin for construction.java.lang.String
plugin
The fully-qualified name of the plugin type.-
Fields inherited from class net.bytebuddy.build.maven.CoordinateConfiguration
artifactId, groupId, packaging, version
-
-
Constructor Summary
Constructors Constructor Description Transformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPlugin()
Returns the plugin type name.java.util.List<Plugin.Factory.UsingReflection.ArgumentResolver>
makeArgumentResolvers()
Creates the argument resolvers for the plugin's constructor by transforming the plugin arguments.-
Methods inherited from class net.bytebuddy.build.maven.CoordinateConfiguration
asCoordinate, getArtifactId, getGroupId, getPackaging, getVersion
-
-
-
-
Field Detail
-
plugin
public java.lang.String plugin
The fully-qualified name of the plugin type.
-
arguments
public java.util.List<PluginArgument> arguments
A list of arguments that are provided to the plugin for construction.
-
-
Method Detail
-
getPlugin
public java.lang.String getPlugin() throws org.apache.maven.plugin.MojoExecutionException
Returns the plugin type name.- Returns:
- The plugin type name.
- Throws:
org.apache.maven.plugin.MojoExecutionException
- If the plugin name was not specified or is empty.
-
makeArgumentResolvers
public java.util.List<Plugin.Factory.UsingReflection.ArgumentResolver> makeArgumentResolvers()
Creates the argument resolvers for the plugin's constructor by transforming the plugin arguments.- Returns:
- A list of argument resolvers.
-
-