Class ChangedMemberTarget

  • All Implemented Interfaces:
    DiffEvaluator

    public final class ChangedMemberTarget
    extends AbstractDiffEvaluator
    Checks for changes in the shapes targeted by a member.

    If the shape targeted by the member changes from a simple shape to a simple shape of the same type with the same traits, then the emitted event is a WARNING. All other changes are ERROR events.

    • Constructor Detail

      • ChangedMemberTarget

        public ChangedMemberTarget()
    • 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.