Package net.bytebuddy.build.maven
Class Transformation
- java.lang.Object
-
- net.bytebuddy.build.maven.AbstractUserConfiguration
-
- net.bytebuddy.build.maven.Transformation
-
public class Transformation extends AbstractUserConfiguration
A transformation specification to apply during the plugin's execution.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
plugin
The fully-qualified name of the plugin type.-
Fields inherited from class net.bytebuddy.build.maven.AbstractUserConfiguration
artifactId, groupId, 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.lang.String
getRawPlugin()
Returns the plugin name ornull
if it is not set.-
Methods inherited from class net.bytebuddy.build.maven.AbstractUserConfiguration
asCoordinate, getArtifactId, getGroupId, getVersion
-
-
-
-
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.
-
getRawPlugin
public java.lang.String getRawPlugin()
Returns the plugin name ornull
if it is not set.- Returns:
- The configured plugin name.
-
-