Package net.bytebuddy.build.maven
Class Initialization
- java.lang.Object
-
- net.bytebuddy.build.maven.CoordinateConfiguration
-
- net.bytebuddy.build.maven.Initialization
-
public class Initialization extends CoordinateConfiguration
Defines a configuration for a Maven build's type transformation.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringentryPointThe fully-qualified name of the entry point or any constant name ofEntryPoint.Default.-
Fields inherited from class net.bytebuddy.build.maven.CoordinateConfiguration
artifactId, groupId, packaging, version
-
-
Constructor Summary
Constructors Constructor Description Initialization()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EntryPointgetEntryPoint(ClassLoaderResolver classLoaderResolver, java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.lang.String packaging)Resolves the described entry point.static InitializationmakeDefault()Creates a default initialization instance.-
Methods inherited from class net.bytebuddy.build.maven.CoordinateConfiguration
asCoordinate, getArtifactId, getGroupId, getPackaging, getVersion
-
-
-
-
Field Detail
-
entryPoint
public java.lang.String entryPoint
The fully-qualified name of the entry point or any constant name ofEntryPoint.Default.
-
-
Method Detail
-
makeDefault
public static Initialization makeDefault()
Creates a default initialization instance.- Returns:
- A default initialization instance.
-
getEntryPoint
public EntryPoint getEntryPoint(ClassLoaderResolver classLoaderResolver, java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.lang.String packaging) throws org.apache.maven.plugin.MojoExecutionException
Resolves the described entry point.- Parameters:
classLoaderResolver- The class loader resolved to use.groupId- This project's group id.artifactId- This project's artifact id.version- This project's version id.packaging- This project's packaging- Returns:
- The resolved entry point.
- Throws:
org.apache.maven.plugin.MojoExecutionException- If the entry point cannot be created.
-
-