Class EventStreamValidator

  • All Implemented Interfaces:
    Validator

    public class EventStreamValidator
    extends AbstractValidator
    Validates inputEventStream and outputEventStream traits.
    • Ensures that event stream members target structures or unions.
    • Ensures that event stream union members are all structures.
    • Ensures that structures with event streams are only targeted by input/output.
    • Constructor Detail

      • EventStreamValidator

        public EventStreamValidator()
    • Method Detail

      • validate

        public java.util.List<ValidationEvent> validate​(Model model)
        Description copied from interface: Validator
        Validates a model and returns a list of validation events.
        Parameters:
        model - Model to validate.
        Returns:
        List of validation events.