Class AddedOperationInputOutput

  • All Implemented Interfaces:
    DiffEvaluator

    public final class AddedOperationInputOutput
    extends java.lang.Object
    implements DiffEvaluator
    Meta-validator that emits a NOTE when a backward compatible operation input or output is added (AddedOperationInput and AddedOperationOutput), and an ERROR when a breaking operation input is added using the same event IDs.

    TODO: Also check for the addition of streaming and event streams.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<ValidationEvent> evaluate​(Differences differences)
      Returns validation events given two models and the detected differences between them.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AddedOperationInputOutput

        public AddedOperationInputOutput()
    • 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.
        Specified by:
        evaluate in interface DiffEvaluator
        Parameters:
        differences - Detected differences.
        Returns:
        Returns validation events that are relative to the new model.