Class RemovedShape

  • All Implemented Interfaces:
    DiffEvaluator

    public final class RemovedShape
    extends AbstractDiffEvaluator
    Creates an ERROR event when a non-private non-scalar shape is removed. Creates a WARNING event when a non-private scalar shape is removed.
    • Constructor Detail

      • RemovedShape

        public RemovedShape()
    • Method Detail

      • evaluate

        public java.util.List<ValidationEvent> evaluate​(Differences differences)
        Description copied from interface: DiffEvaluator
        Returns validation events given two models and the detected differences between them.
        Parameters:
        differences - Detected differences.
        Returns:
        Returns validation events that are relative to the new model.