public static interface Plugin.Engine.Dispatcher.Materializable
Modifier and Type | Interface and Description |
---|---|
static class |
Plugin.Engine.Dispatcher.Materializable.ForFailedElement
A materializable for an element that failed to be transformed.
|
static class |
Plugin.Engine.Dispatcher.Materializable.ForRetainedElement
A materializable for an element that is retained in its original state.
|
static class |
Plugin.Engine.Dispatcher.Materializable.ForTransformedElement
A materializable for a successfully transformed type.
|
static class |
Plugin.Engine.Dispatcher.Materializable.ForUnresolvedElement
A materializable for an element that could not be resolved.
|
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.
|
void materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription,List<Throwable>> failed, List<String> unresolved) throws IOException
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–2022. All rights reserved.