Class CleanOperationStructures

All Implemented Interfaces:

public final class CleanOperationStructures extends Object implements ModelTransformerPlugin
Removes references to removed structures from operation input, output, and errors.
  • Constructor Details

    • CleanOperationStructures

      public CleanOperationStructures()
  • Method Details

    • onRemove

      public Model onRemove(ModelTransformer transformer, Collection<Shape> removed, Model model)
      Description copied from interface: ModelTransformerPlugin
      The method that is invoked each time shapes are removed from a model.
      Specified by:
      onRemove in interface ModelTransformerPlugin
      transformer - Transformer used to replace/remove shapes from the model.
      removed - The of shapes that were removed from the model.
      model - Model that has been altered to remove removed.
      Returns a transformed version of the passed in model.