public static class Plugin.Engine.Dispatcher.Materializable.ForTransformedElement extends Object implements Plugin.Engine.Dispatcher.Materializable
Plugin.Engine.Dispatcher.Materializable.ForFailedElement, Plugin.Engine.Dispatcher.Materializable.ForRetainedElement, Plugin.Engine.Dispatcher.Materializable.ForTransformedElement, Plugin.Engine.Dispatcher.Materializable.ForUnresolvedElement
Modifier | Constructor and Description |
---|---|
protected |
ForTransformedElement(DynamicType dynamicType)
Creates a new materializable for a successfully transformed type.
|
Modifier and Type | Method and Description |
---|---|
void |
materialize(Plugin.Engine.Target.Sink sink,
List<TypeDescription> transformed,
Map<TypeDescription,List<Throwable>> failed,
List<String> unresolved)
Materializes this work result and adds any results to the corresponding collection.
|
protected ForTransformedElement(DynamicType dynamicType)
dynamicType
- The type that has been transformed.public void materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription,List<Throwable>> failed, List<String> unresolved) throws IOException
materialize
in interface Plugin.Engine.Dispatcher.Materializable
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.IOException
- If an I/O exception occurs.Copyright © 2014–2024. All rights reserved.