Class AddedRequiredMember

  • All Implemented Interfaces:
    DiffEvaluator

    public class AddedRequiredMember
    extends AbstractDiffEvaluator
    Validates that no members are newly created with the required trait (but no default trait) in existing structures.
    • Constructor Detail

      • AddedRequiredMember

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