Package net.bytebuddy.build
Interface Plugin.Engine.Dispatcher.Materializable
-
- All Known Implementing Classes:
Plugin.Engine.Dispatcher.Materializable.ForFailedElement,Plugin.Engine.Dispatcher.Materializable.ForRetainedElement,Plugin.Engine.Dispatcher.Materializable.ForTransformedElement,Plugin.Engine.Dispatcher.Materializable.ForUnresolvedElement
- Enclosing interface:
- Plugin.Engine.Dispatcher
public static interface Plugin.Engine.Dispatcher.MaterializableThe result of a work assignment that needs to be invoked from the main thread that triggers a dispatchers life-cycle methods.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPlugin.Engine.Dispatcher.Materializable.ForFailedElementA materializable for an element that failed to be transformed.static classPlugin.Engine.Dispatcher.Materializable.ForRetainedElementA materializable for an element that is retained in its original state.static classPlugin.Engine.Dispatcher.Materializable.ForTransformedElementA materializable for a successfully transformed type.static classPlugin.Engine.Dispatcher.Materializable.ForUnresolvedElementA materializable for an element that could not be resolved.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmaterialize(Plugin.Engine.Target.Sink sink, java.util.List<TypeDescription> transformed, java.util.Map<TypeDescription,java.util.List<java.lang.Throwable>> failed, java.util.List<java.lang.String> unresolved)Materializes this work result and adds any results to the corresponding collection.
-
-
-
Method Detail
-
materialize
void materialize(Plugin.Engine.Target.Sink sink, java.util.List<TypeDescription> transformed, java.util.Map<TypeDescription,java.util.List<java.lang.Throwable>> failed, java.util.List<java.lang.String> unresolved) throws java.io.IOException
Materializes this work result and adds any results to the corresponding collection.- Parameters:
sink- The sink to write any work to.transformed- A list of all types that are transformed.failed- A mapping of all types that failed during transformation to the exceptions that explain the failure.unresolved- A list of type names that could not be resolved.- Throws:
java.io.IOException- If an I/O exception occurs.
-
-