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.String
entryPoint
The fully-qualified name of the entry point or any constant name ofEntryPoint.Default
.boolean
validated
If validation should be disabled for the entry point.-
Fields inherited from class net.bytebuddy.build.maven.CoordinateConfiguration
artifactId, groupId, packaging, version
-
-
Constructor Summary
Constructors Constructor Description Initialization()
Creates a new initialization configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntryPoint
getEntryPoint(ClassLoaderResolver classLoaderResolver, java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.lang.String packaging)
Resolves the described entry point.-
Methods inherited from class net.bytebuddy.build.maven.CoordinateConfiguration
asCoordinate, getArtifactId, getGroupId, getPackaging, getVersion
-
-
-
-
Field Detail
-
entryPoint
@MaybeNull public java.lang.String entryPoint
The fully-qualified name of the entry point or any constant name ofEntryPoint.Default
.
-
validated
public boolean validated
If validation should be disabled for the entry point.
-
-
Method Detail
-
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.
-
-