Class Rpcv2CborTraitValidator

  • All Implemented Interfaces:
    Validator

    public final class Rpcv2CborTraitValidator
    extends AbstractValidator
    Validates models implementing the Rpcv2CborTrait against its constraints by: - Ensuring that every entry in eventStreamHttp also appears in the http property of a protocol trait.
    • Constructor Detail

      • Rpcv2CborTraitValidator

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