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.Materializable
The result of a work assignment that needs to be invoked from the main thread that triggers a dispatchers life-cycle methods.
  • Method Details

    • materialize

      void materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription,List<Throwable>> failed, List<String> unresolved) throws 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:
      IOException - If an I/O exception occurs.