protected static class TransformationAction.TransformationLogger
extends net.bytebuddy.build.Plugin.Engine.Listener.Adapter
Plugin.Engine.Listener that logs several relevant events during the build.net.bytebuddy.build.Plugin.Engine.Listener.Adapter, net.bytebuddy.build.Plugin.Engine.Listener.Compound, net.bytebuddy.build.Plugin.Engine.Listener.ForErrorHandler, net.bytebuddy.build.Plugin.Engine.Listener.NoOp, net.bytebuddy.build.Plugin.Engine.Listener.StreamWriting, net.bytebuddy.build.Plugin.Engine.Listener.WithErrorsOnly, net.bytebuddy.build.Plugin.Engine.Listener.WithTransformationsOnly| Modifier | Constructor and Description |
|---|---|
protected |
TransformationLogger(org.gradle.api.logging.Logger logger)
Creates a new transformation logger.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onError(java.util.Map<net.bytebuddy.description.type.TypeDescription,java.util.List<java.lang.Throwable>> throwables) |
void |
onError(net.bytebuddy.build.Plugin plugin,
java.lang.Throwable throwable) |
void |
onError(net.bytebuddy.description.type.TypeDescription typeDescription,
net.bytebuddy.build.Plugin plugin,
java.lang.Throwable throwable) |
void |
onLiveInitializer(net.bytebuddy.description.type.TypeDescription typeDescription,
net.bytebuddy.description.type.TypeDescription definingType) |
void |
onTransformation(net.bytebuddy.description.type.TypeDescription typeDescription,
java.util.List<net.bytebuddy.build.Plugin> plugins) |
protected TransformationLogger(org.gradle.api.logging.Logger logger)
logger - The logger to delegate to.public void onTransformation(net.bytebuddy.description.type.TypeDescription typeDescription,
java.util.List<net.bytebuddy.build.Plugin> plugins)
onTransformation in interface net.bytebuddy.build.Plugin.Engine.ListeneronTransformation in class net.bytebuddy.build.Plugin.Engine.Listener.Adapterpublic void onError(net.bytebuddy.description.type.TypeDescription typeDescription,
net.bytebuddy.build.Plugin plugin,
java.lang.Throwable throwable)
onError in interface net.bytebuddy.build.Plugin.Engine.ErrorHandleronError in class net.bytebuddy.build.Plugin.Engine.Listener.Adapterpublic void onError(java.util.Map<net.bytebuddy.description.type.TypeDescription,java.util.List<java.lang.Throwable>> throwables)
onError in interface net.bytebuddy.build.Plugin.Engine.ErrorHandleronError in class net.bytebuddy.build.Plugin.Engine.Listener.Adapterpublic void onError(net.bytebuddy.build.Plugin plugin,
java.lang.Throwable throwable)
onError in interface net.bytebuddy.build.Plugin.Engine.ErrorHandleronError in class net.bytebuddy.build.Plugin.Engine.Listener.Adapterpublic void onLiveInitializer(net.bytebuddy.description.type.TypeDescription typeDescription,
net.bytebuddy.description.type.TypeDescription definingType)
onLiveInitializer in interface net.bytebuddy.build.Plugin.Engine.ErrorHandleronLiveInitializer in class net.bytebuddy.build.Plugin.Engine.Listener.Adapter