public static interface Plugin.Engine.Listener extends Plugin.Engine.ErrorHandler
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | Plugin.Engine.Listener.AdapterAn adapter that implements all methods non-operational. | 
| static class  | Plugin.Engine.Listener.CompoundA compound listener. | 
| static class  | Plugin.Engine.Listener.ForErrorHandlerA listener decorator that forwards events to an error handler if they are applicable. | 
| static class  | Plugin.Engine.Listener.NoOpA non-operational listener. | 
| static class  | Plugin.Engine.Listener.StreamWritingA listener that forwards significant events of a plugin engine application to a  PrintStream. | 
| static class  | Plugin.Engine.Listener.WithErrorsOnlyA decorator for another listener to only print error events. | 
| static class  | Plugin.Engine.Listener.WithTransformationsOnlyA decorator for another listener to only print transformation and error events. | 
Plugin.Engine.ErrorHandler.Enforcing, Plugin.Engine.ErrorHandler.Failing| Modifier and Type | Method and Description | 
|---|---|
| void | onComplete(TypeDescription typeDescription)Invoked upon completing handling a type that was either transformed or ignored. | 
| void | onDiscovery(String typeName)Invoked upon discovering a type but prior to its resolution. | 
| void | onIgnored(TypeDescription typeDescription,
         List<Plugin> plugins)Invoked if one or more plugins did not transform a type. | 
| void | onIgnored(TypeDescription typeDescription,
         Plugin plugin)Invoked if a type description is ignored by a given plugin. | 
| void | onTransformation(TypeDescription typeDescription,
                List<Plugin> plugins)Invoked after a type was transformed using at least one plugin. | 
| void | onTransformation(TypeDescription typeDescription,
                Plugin plugin)Invoked after a type was transformed using a specific plugin. | 
onError, onError, onError, onError, onLiveInitializer, onManifest, onResource, onUnresolvedvoid onDiscovery(String typeName)
typeName - The name of the discovered type.void onTransformation(TypeDescription typeDescription, Plugin plugin)
typeDescription - The type being transformed.plugin - The plugin that was applied.void onTransformation(TypeDescription typeDescription, List<Plugin> plugins)
typeDescription - The type being transformed.plugins - A list of plugins that were applied.void onIgnored(TypeDescription typeDescription, Plugin plugin)
typeDescription - The type being transformed.plugin - The plugin that ignored the given type.void onIgnored(TypeDescription typeDescription, List<Plugin> plugins)
typeDescription - The type being transformed.plugins - the plugins that ignored the type.void onComplete(TypeDescription typeDescription)
typeDescription - The type that was transformed.Copyright © 2014–2023. All rights reserved.